nl.hippo.portal.cms.site
Class MetaDataLoader
java.lang.Object
nl.hippo.portal.cms.site.MetaDataLoader
- All Implemented Interfaces:
- DocumentTransformer
public final class MetaDataLoader
- extends java.lang.Object
- implements DocumentTransformer
|
Method Summary |
static MetaDataLoader |
getInstance()
|
nl.hippo.portal.cms.CMSMetaData |
getMetaData(java.lang.String name,
java.io.InputStream metaDataStream)
|
java.lang.Object |
transform(java.lang.String name,
java.io.InputStream documentStream,
java.util.List documentPaths)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
transform
public java.lang.Object transform(java.lang.String name,
java.io.InputStream documentStream,
java.util.List documentPaths)
throws org.xml.sax.SAXException,
java.io.IOException,
javax.xml.parsers.ParserConfigurationException
- Specified by:
transform in interface DocumentTransformer
- Parameters:
name - Name of the item to transformdocumentStream - xml stream of the documentdocumentPaths - the document transformer must add any paths to
sources which are used to transform the object.
Paths must be String and relative
- Returns:
- The transformed object, derived from the given input stream.
- Throws:
org.xml.sax.SAXException
java.io.IOException
javax.xml.parsers.ParserConfigurationException
getMetaData
public nl.hippo.portal.cms.CMSMetaData getMetaData(java.lang.String name,
java.io.InputStream metaDataStream)
throws org.xml.sax.SAXException,
javax.xml.parsers.ParserConfigurationException,
java.io.IOException
- Throws:
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
java.io.IOException
getInstance
public static MetaDataLoader getInstance()
Copyright © 2007-2008 . All Rights Reserved.