demo-objects.foxml.local-server-demos.image-manip-demo.bdef_demo_27.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"?> <foxml:digitalObject PID="demo:27" xmlns:METS="http://www.loc.gov/METS/" xmlns:audit="info:fedora/fedora-system:def/audit#" xmlns:fbs="http://fedora.comm.nsdlib.org/bindspec" xmlns:fedoraAudit="http://fedora.comm.nsdlib.org/audit" xmlns:foxml="info:fedora/fedora-system:def/foxml#" xmlns:uvalibadmin="http://dl.lib.virginia.edu/bin/admin/admin.dtd" xmlns:uvalibdesc="http://dl.lib.virginia.edu/bin/dtd/descmeta/descmeta.dtd" xmlns:xlink="http://www.w3.org/TR/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="info:fedora/fedora-system:def/foxml# http://www.fedora.info/definitions/1/0/foxml1-0.xsd"> <foxml:objectProperties> <foxml:property NAME="http://www.w3.org/1999/02/22-rdf-syntax-ns#type" VALUE="FedoraBDefObject"/> <foxml:property NAME="info:fedora/fedora-system:def/model#state" VALUE="A"/> <foxml:property NAME="info:fedora/fedora-system:def/model#label" VALUE="Behavior Definition Object for Image Manipulation Servlet"/> <foxml:property NAME="info:fedora/fedora-system:def/model#contentModel" VALUE="fedora:BDEF"/> <foxml:property NAME="info:fedora/fedora-system:def/model#ownerId" VALUE="fedoraAdmin"/> </foxml:objectProperties> <foxml:datastream ID="DC" CONTROL_GROUP="X" STATE="A"> <foxml:datastreamVersion ID="DC1.0" MIMETYPE="text/xml" LABEL="Dublin Core Metadata"> <foxml:xmlContent> <oai_dc:dc xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/"> <dc:title>Behavior Definition Object for Image Manipulation Servlet</dc:title> <dc:identifier>demo:27</dc:identifier> </oai_dc:dc> </foxml:xmlContent> </foxml:datastreamVersion> </foxml:datastream> <foxml:datastream ID="METHODMAP" CONTROL_GROUP="X" STATE="A"> <foxml:datastreamVersion ID="METHODMAP1.0" MIMETYPE="text/xml" LABEL="Method Map for Fedora Behavior Definition for Image Manipulation Servlet"> <foxml:xmlContent> <fmm:MethodMap bDefPID="demo:27" name="Fedora MethodMap for Image Manipulation Servlet" xmlns:fmm="http://fedora.comm.nsdlib.org/service/methodmap"> <fmm:Method operationName="resizeImage"> <fmm:UserInputParm defaultValue="150" parmName="width" passBy="VALUE" required="true"/> </fmm:Method> <fmm:Method operationName="zoomImage"> <fmm:UserInputParm defaultValue="3" parmName="zoom" passBy="VALUE" required="true"/> </fmm:Method> <fmm:Method operationName="brightImage"> <fmm:UserInputParm defaultValue="3.5" parmName="bright" passBy="VALUE" required="true"/> </fmm:Method> <fmm:Method operationName="watermarkImage"> <fmm:UserInputParm defaultValue="Watermarked 2003" parmName="watermark" passBy="VALUE" required="true"/> </fmm:Method> <fmm:Method operationName="grayscaleImage"/> <fmm:Method operationName="cropImage"> <fmm:UserInputParm defaultValue="30" parmName="x" passBy="VALUE" required="true"/> <fmm:UserInputParm defaultValue="100" parmName="y" passBy="VALUE" required="true"/> <fmm:UserInputParm defaultValue="" parmName="width" passBy="VALUE" required="false"/> <fmm:UserInputParm defaultValue="" parmName="height" passBy="VALUE" required="false"/> </fmm:Method> <fmm:Method operationName="convertImage"> <fmm:UserInputParm defaultValue="gif" parmName="convertTo" passBy="VALUE" required="true"> <fmm:ValidParmValues> <fmm:ValidParm value="jpg"/> <fmm:ValidParm value="gif"/> <fmm:ValidParm value="tiff"/> <fmm:ValidParm value="png"/> <fmm:ValidParm value="bmp"/> </fmm:ValidParmValues> </fmm:UserInputParm> </fmm:Method> </fmm:MethodMap> </foxml:xmlContent> </foxml:datastreamVersion> </foxml:datastream> <foxml:disseminator ID="DISS1" BDEF_CONTRACT_PID="fedora-system:1" STATE="A"> <foxml:disseminatorVersion ID="DISS1.0" BMECH_SERVICE_PID="fedora-system:2" LABEL="Bootstrap Behaviors"> <foxml:serviceInputMap> <foxml:datastreamBinding DATASTREAM_ID="METHODMAP" KEY="BDEF-METHODMAP" LABEL="Abstract behavior definition in Fedora Method Map format"/> </foxml:serviceInputMap> </foxml:disseminatorVersion> </foxml:disseminator> </foxml:digitalObject>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy