|
Esri Geoportal Server 1.2.9
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.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)
Deprecated. Instead use transformDetails(String xml, String xsltPath,Locale locale) |
String |
transformDetails(String xml,
String detailsXslPath,
MessageBroker mb)
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 occurs
public 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 occurs
public 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 occurs
public Schema prepareForPublication(RequestContext context,
PublicationRecord record)
throws SchemaException
context - request contextrecord - publication record
SchemaException - if a schema related exception occurs
public Schema prepareForPublication(PublicationRequest request)
throws SchemaException
request - publication request
SchemaException - if a schema related exception occurs
public Schema prepareForView(RequestContext context,
String xml)
throws SchemaException
context - the active request contextxml - the document xml
SchemaException - if a schema related exception occurs
public String prepareForFullViewing(String xml)
throws SchemaException
xml - the xml to be prepared
SchemaException - the schema exception
public String transform(String xml,
String xsltPath)
throws TransformerException
xml - the document XMLxsltPath - the path to the XSLT
TransformerException - if an exception occurs
public String transformDetails(String xml,
String xsltPath)
throws TransformerException
xml - the document xml to transformxsltPath - the path to the details XSLT for the schema
TransformerException
public String transformDetails(String xml,
String detailsXslPath,
MessageBroker mb)
throws TransformerException,
IOException,
ParserConfigurationException,
SAXException,
XPathExpressionException
xml - the document xml to transformdetailsXslPath - the path to the details XSLT for the schemamb - the message broker
TransformerException
IOException
SAXException
ParserConfigurationException
XPathExpressionException
|
Esri Geoportal Server 1.2.9
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||