|
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.arcims.EsriIsoTranslator
public class EsriIsoTranslator
Handles the translation of documents to EsriIso format.
When a schema is neither FGDC or ISO19115, the document must be translated to ISO19115 and enclosed as a binary node prior to publishing to the ArcIMS metdata server. The translation process uses a Java implementation of a metadata document transformation mechanism developed for ArcGIS Desktop. The underlying files for the process are stored within: gpt/metadata/ArcGIS_Translator The API for translation is found within esri-translator.jar.
Constructor Summary | |
---|---|
EsriIsoTranslator()
Default constructor. |
Method Summary | |
---|---|
String |
transformAndEnclose(String uuid,
String fileIdentifier,
String originalXml,
String toEsriIsoXslt)
Transforma an original XML string to EsriIso format, then encloses the original XML as a base64 node with the EsriIso document. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EsriIsoTranslator()
Method Detail |
---|
public String transformAndEnclose(String uuid, String fileIdentifier, String originalXml, String toEsriIsoXslt) throws TransformerException, ParserConfigurationException, SAXException, IOException
uuid
- the document UUIDfileIdentifier
- the file identifieroriginalXml
- the original XML string for the metadata documenttoEsriIsoXslt
- the path to an XSLT that generates the EsriIso document
TransformerException
- if a transformation exception occurs
ParserConfigurationException
- if a configuration exception occurs
SAXException
- if an exception occurs during XML parsing
IOException
- if an i/o exception occurs
|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |