|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.gpt.catalog.schema.MetadataDocument
public class MetadataDocument
Provides functionality to connect a Schema with a metadata document.
Constructor Summary | |
---|---|
MetadataDocument()
Default constructor. |
Method Summary | |
---|---|
Schema |
prepareForCreate(RequestContext context,
String schemaKey)
Prepares a schema for creation by the metadata editor. |
String |
prepareForDownload(RequestContext context,
Publisher publisher,
String uuid)
Prepares a document for download by a publisher. |
Schema |
prepareForEdit(RequestContext context,
Publisher publisher,
String uuid)
Prepares a document for editing. |
String |
prepareForFullViewing(String xml)
Prepare xml for full viewing. |
Schema |
prepareForPublication(PublicationRequest request)
Prepares a document for publication. |
Schema |
prepareForPublication(RequestContext context,
PublicationRecord record)
Prepares a document for publication. |
Schema |
prepareForView(RequestContext context,
String xml)
Prepares a document for viewing. |
String |
transform(String xml,
String xsltPath)
Executes a transformation. |
String |
transformDetails(String xml,
String xsltPath)
Transforms an metadata document XML to an HTML fragment suitable for display within the Metadata Details page. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MetadataDocument()
Method Detail |
---|
public Schema prepareForCreate(RequestContext context, String schemaKey) throws SchemaException
context
- the active request contextschemaKey
- the key associated with the schema to create
SchemaException
- if a schema related exception occurspublic String prepareForDownload(RequestContext context, Publisher publisher, String uuid) throws ImsServiceException, SchemaException
context
- the active request contextpublisher
- the active publisheruuid
- the document UUID
ImsServiceException
- if an ArcIMS communication exception occurs
SchemaException
- if a schema related exception occurspublic Schema prepareForEdit(RequestContext context, Publisher publisher, String uuid) throws ImsServiceException, SchemaException
context
- the active request contextpublisher
- the active publisheruuid
- the document UUID
ImsServiceException
- if an ArcIMS communication exception occurs
SchemaException
- if a schema related exception occurspublic Schema prepareForPublication(RequestContext context, PublicationRecord record) throws SchemaException
context
- request contextrecord
- publication record
SchemaException
- if a schema related exception occurspublic Schema prepareForPublication(PublicationRequest request) throws SchemaException
request
- publication request
SchemaException
- if a schema related exception occurspublic Schema prepareForView(RequestContext context, String xml) throws SchemaException
context
- the active request contextxml
- the document xml
SchemaException
- if a schema related exception occurspublic String prepareForFullViewing(String xml) throws SchemaException
xml
- the xml to be prepared
SchemaException
- the schema exceptionpublic String transform(String xml, String xsltPath) throws TransformerException
xml
- the document XMLxsltPath
- the path to the XSLT
TransformerException
- if an exception occurspublic String transformDetails(String xml, String xsltPath) throws TransformerException
xml
- the document xml to transformxsltPath
- the path to the details XSLT for the schema
TransformerException
|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |