Constructor and Description |
---|
DomParser(SchemaRegistry schemaRegistry) |
public static final Trace LOGGER
public DomParser(SchemaRegistry schemaRegistry)
public Collection<XNode> parseCollection(File file) throws SchemaException, IOException
parseCollection
in interface Parser
SchemaException
IOException
public Collection<XNode> parseCollection(InputStream stream) throws SchemaException, IOException
parseCollection
in interface Parser
SchemaException
IOException
public Collection<XNode> parseCollection(String dataString) throws SchemaException
parseCollection
in interface Parser
SchemaException
public XNode parse(File file) throws SchemaException
parse
in interface Parser
SchemaException
public XNode parse(InputStream stream) throws SchemaException, IOException
parse
in interface Parser
SchemaException
IOException
public XNode parse(String dataString) throws SchemaException
parse
in interface Parser
SchemaException
public RootXNode parse(Document document) throws SchemaException
SchemaException
public RootXNode parse(Element rootElement) throws SchemaException
SchemaException
public RootXNode parseElementAsRoot(Element element) throws SchemaException
SchemaException
public MapXNode parseElementAsMap(Element element) throws SchemaException
SchemaException
public XNode parseElementContent(Element element) throws SchemaException
SchemaException
public boolean canParse(File file) throws IOException
canParse
in interface Parser
IOException
public String serializeToString(XNode xnode, QName rootElementName) throws SchemaException
serializeToString
in interface Parser
SchemaException
public String serializeToString(RootXNode xnode) throws SchemaException
serializeToString
in interface Parser
SchemaException
public Element serializeUnderElement(XNode xnode, QName rootElementName, Element parentElement) throws SchemaException
SchemaException
public Element serializeXMapToElement(MapXNode xmap, QName elementName) throws SchemaException
SchemaException
public Element serializeXRootToElement(RootXNode xroot) throws SchemaException
SchemaException
@Deprecated public Element serializeXRootToElement(RootXNode xroot, Document document) throws SchemaException
SchemaException
public Element serializeSingleElementMapToElement(MapXNode xmap) throws SchemaException
SchemaException
Copyright © 2016 evolveum. All rights reserved.