nl.hippo.portal.cms.site
Class SiteMapLoader
java.lang.Object
nl.hippo.portal.cms.site.SiteMapLoader
- All Implemented Interfaces:
- DocumentTransformer
public final class SiteMapLoader
- extends java.lang.Object
- implements DocumentTransformer
|
Method Summary |
nl.hippo.portal.cms.site.SiteMap |
getSiteMap(java.lang.String name,
java.io.InputStream metaDataStream,
java.util.List documentPaths)
|
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 |
SiteMapLoader
public SiteMapLoader(DocumentTreeBuilder treeBuilder,
int repoNavMaxDepth)
transform
public java.lang.Object transform(java.lang.String name,
java.io.InputStream documentStream,
java.util.List documentPaths)
throws org.xml.sax.SAXException,
javax.xml.parsers.ParserConfigurationException,
java.io.IOException
- 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
javax.xml.parsers.ParserConfigurationException
java.io.IOException
getSiteMap
public nl.hippo.portal.cms.site.SiteMap getSiteMap(java.lang.String name,
java.io.InputStream metaDataStream,
java.util.List documentPaths)
throws org.xml.sax.SAXException,
javax.xml.parsers.ParserConfigurationException,
java.io.IOException
- Throws:
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
java.io.IOException
Copyright © 2007-2008 . All Rights Reserved.