public class RepositoryLogicNodeGenerator extends ServiceableGenerator
Modifier and Type | Field and Description |
---|---|
private AmetysObjectResolver |
_resolver |
manager
objectModel, parameters, resolver, source
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer
Constructor and Description |
---|
RepositoryLogicNodeGenerator() |
Modifier and Type | Method and Description |
---|---|
private void |
_saxChildren(TraversableAmetysObject ao) |
private void |
_saxFile(File file) |
private void |
_saxFolder(Folder folder) |
private void |
_saxMetaData(CompositeMetadata holder,
boolean isLocked,
boolean isModifiable) |
private void |
_saxMultipleValues(CompositeMetadata holder,
String name,
CompositeMetadata.MetadataType type,
boolean isLocked,
boolean isModifiable) |
private void |
_saxObject(String id) |
private void |
_saxRichText(RichText rt) |
private void |
_saxSimpleValue(CompositeMetadata holder,
String name,
CompositeMetadata.MetadataType type,
boolean isLocked,
boolean isModifiable) |
private void |
_saxValues(CompositeMetadata holder,
String name,
CompositeMetadata.MetadataType type,
Boolean isMultiple,
boolean isLocked,
boolean isModifiable) |
void |
generate() |
void |
service(ServiceManager serviceManager) |
dispose
recycle, setup
setConsumer, setContentHandler, setLexicalHandler
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setConsumer
private AmetysObjectResolver _resolver
public RepositoryLogicNodeGenerator()
public void service(ServiceManager serviceManager) throws ServiceException
service
in interface Serviceable
service
in class ServiceableGenerator
ServiceException
public void generate() throws IOException, SAXException, ProcessingException
private void _saxObject(String id) throws SAXException, RepositoryException
SAXException
RepositoryException
private void _saxMetaData(CompositeMetadata holder, boolean isLocked, boolean isModifiable) throws SAXException, RepositoryException
SAXException
RepositoryException
private void _saxChildren(TraversableAmetysObject ao) throws SAXException, RepositoryException
SAXException
RepositoryException
private void _saxValues(CompositeMetadata holder, String name, CompositeMetadata.MetadataType type, Boolean isMultiple, boolean isLocked, boolean isModifiable) throws RepositoryException, SAXException
RepositoryException
SAXException
private void _saxMultipleValues(CompositeMetadata holder, String name, CompositeMetadata.MetadataType type, boolean isLocked, boolean isModifiable) throws RepositoryException, SAXException
RepositoryException
SAXException
private void _saxSimpleValue(CompositeMetadata holder, String name, CompositeMetadata.MetadataType type, boolean isLocked, boolean isModifiable) throws RepositoryException, SAXException
RepositoryException
SAXException
private void _saxRichText(RichText rt) throws RepositoryException, SAXException
RepositoryException
SAXException
private void _saxFolder(Folder folder) throws RepositoryException, SAXException
RepositoryException
SAXException
private void _saxFile(File file) throws SAXException
SAXException