
demo-objects.mets.open-server-demos.userinput-image-demo.bdef-image-userinput.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fcrepo-client Show documentation
Show all versions of fcrepo-client Show documentation
The Fedora Client is a Java Library that allows API access to a Fedora Repository. The client is typically one part of a full Fedora installation.
The newest version!
<?xml version="1.0" encoding="UTF-8"?> <!---********************************************************************************************--> <!-- SAMPLE FEDORA BEHAVIOR DEFINITION OBJECT ENCODED USING METS --> <!-- Creator: Sandy Payette --> <!-- Custodian: University of Virginia Library --> <!-- Note: Demonstration Behavior Definition Object. This Behavior Definition Object represents the behavior --> <!-- contract known as UserInput Image. This Behavior Definition Object contains metadata that defines a set --> <!-- of abstract method definitions that constitute behaviors that will be available on any Fedora data object --> <!-- that subscribes to the UserInput Image Behavior Definition. It also defines the contract for a Behavior --> <!-- Mechanism Object that implements the UserInput Image behaviors. Such Behavior Mechanism Objects --> <!-- are surrogates for services that can fulfill the requirements of the UserInput Image behaviors. --> <!---********************************************************************************************--> <METS:mets xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:METS="http://www.loc.gov/METS/" xmlns:fedoraAudit="http://fedora.comm.nsdlib.org/audit" xmlns:fbs="http://fedora.comm.nsdlib.org/bindspec" xmlns:uvalibdesc="http://dl.lib.virginia.edu/bin/dtd/descmeta/descmeta.dtd" xmlns:uvalibadmin="http://dl.lib.virginia.edu/bin/admin/admin.dtd" xmlns:xlink="http://www.w3.org/TR/xlink" xsi:schemaLocation="http://www.loc.gov/standards/METS/ http://www.fedora.info/definitions/1/0/mets-fedora-ext.xsd" OBJID="demo:8" TYPE="FedoraBDefObject" LABEL="Behavior Definition Object for UserInput Image Contract" PROFILE="fedora:BDEF"> <METS:metsHdr> <METS:agent ROLE="IPOWNER"> <METS:name>fedoraAdmin</METS:name> </METS:agent> </METS:metsHdr> <!---*******************************************************************************************************************************************--> <!---User-Defined XML METADATA DATASTREAMS--> <!-- ****************************************************************************************************************************************** --> <!-- METHOD MAP: Usage pattern for Behavior Definition Objects. A Fedora Behavior Definition contains abstract method --> <!-- names and user input parameters. The method definitions represent what an end user would see as --> <!-- the set of methods that can be run as disseminations. The method definitions are stripped of any mechanism-specific --> <!-- information. The method return type is always a MIME-typed stream. --> <!-- NOTE: Some elements in the Method Map schema are not appropriate for usage when encoding a Fedora Behavior Definition. --> <!-- These are elements that pertain to mapping a concrete service definition (WSDL) to Fedora (in a Behavior Mechanism Object). --> <!-- The following Method Map schema entities do NOT apply to Behavior Definitions: --> <!-- element DefaultInputParm, element DatastreamInputParm, element MethodReturnType, --> <!-- and attributes wsdlMsgName and wsdlMsgOutput on element Method. --> <!-- ****************************************************************************************************************************************** --> <METS:amdSec ID="METHODMAP"> <METS:techMD ID="METHODMAP1.0" STATUS="A"> <METS:mdWrap MIMETYPE="text/xml" MDTYPE="OTHER" LABEL="Method Map of the Fedora Behavior Definition for UserInput Image"> <METS:xmlData> <fmm:MethodMap name="Fedora MethodMap for UserInput Image BDef" xmlns:fmm="http://fedora.comm.nsdlib.org/service/methodmap"> <fmm:Method operationName="getThumbnail"/> <fmm:Method operationName="getImage"> <fmm:UserInputParm parmName="ZOOM" required="true" defaultValue="yes" passBy="VALUE"> <fmm:ValidParmValues> <fmm:ValidParm value="yes"/> <fmm:ValidParm value="no"/> </fmm:ValidParmValues> </fmm:UserInputParm> <fmm:UserInputParm parmName="SIZE" required="true" defaultValue="medium1" passBy="VALUE"> <fmm:ValidParmValues> <fmm:ValidParm value="small"/> <fmm:ValidParm value="medium1"/> <fmm:ValidParm value="medium2"/> </fmm:ValidParmValues> </fmm:UserInputParm> </fmm:Method> </fmm:MethodMap> </METS:xmlData> </METS:mdWrap> </METS:techMD> </METS:amdSec> <!---*******************************************************************************************************************************************--> <!--- DATASTREAMS: EXTERNAL-REFERENCED CONTENT and REPOSITORY-MANAGED CONTENT--> <!---*******************************************************************************************************************************************--> <!-- Here we aggregate file(s) that relate to the PickSize Image behavior definition.--> <!-- These can be documentation or other resources. --> <!-- ******************************************************************************************************************** --> <METS:fileSec> <METS:fileGrp ID="DATASTREAMS"> <METS:fileGrp ID="DS1" STATUS="A"> <METS:file ID="DS1.0" SEQ="1" MIMETYPE="text/html" OWNERID="E" STATUS="A"> <METS:FLocat LOCTYPE="URL" xlink:href=" http://uva.lib.edu/bdef/image/doc/userInputImage.html" xlink:title="Behavior Def Guide"/> </METS:file> </METS:fileGrp> </METS:fileGrp> </METS:fileSec> <!---*******************************************************************************************************************************************--> <!--- FEDORA DATASTREAM BINDING MAPS --> <!-- In Fedora the METS structure maps are associated with the DISSEMINATOR (see METS:behaviorSec).--> <!---*******************************************************************************************************************************************--> <!-- DATASTREAM BINDING MAP FOR THE FEDORA BOOTSTRAP MECHANISM (An internal Fedora service) --> <METS:structMap ID="S1" TYPE="fedora:dsBindingMap"> <METS:div TYPE="fedora-system:2" LABEL="Datastream Binding Map for Fedora Bootstrap Mechanism"> <METS:div TYPE="BDEF-METHODMAP" LABEL="Abstract behavior definition in Fedora Method Map format"> <METS:fptr FILEID="METHODMAP"/> </METS:div> <METS:div TYPE="BDEF-GUIDE" LABEL="The Official Guide to the UserInput Image Behavior Definition"> <METS:fptr FILEID="DS1"/> </METS:div> </METS:div> </METS:structMap> <!---*******************************************************************************************************************************************--> <!--- DISSEMINATORS--> <!---*******************************************************************************************************************************************--> <!--- THE BOOTSTRAP DISSEMINATOR --> <!---*******************************************************************************************************************************************--> <!--- The Disseminator subscribes to the Fedora Bootstrap Behavior Definition. It uses the Fedora Bootstrap Behavior Mechanism to run the behaviors. --> <!-- The Bootstrap behaviors enable a client to get disseminations of the contents of this Behavior Defintion Object. --> <METS:behaviorSec ID="DISS1" STATUS="A"> <METS:serviceBinding ID="DISS1.0" STRUCTID="S1" BTYPE="fedora-system:1" LABEL="Bootstrap Behaviors"> <METS:interfaceMD LABEL="Bootstrap Behavior Definition" LOCTYPE="URN" xlink:href="fedora-system:1"/> <METS:serviceBindMD LABEL="Bootstrap Behavior Mechanism" LOCTYPE="URN" xlink:href="fedora-system:2"/> </METS:serviceBinding> </METS:behaviorSec> </METS:mets>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy