Package | Description |
---|---|
ddf.catalog.transformer.xml | |
org.codice.ddf.parser | |
org.codice.ddf.parser.xml |
Modifier and Type | Method and Description |
---|---|
protected ParserConfigurator |
AbstractXmlTransformer.getParserConfigurator() |
Modifier and Type | Method and Description |
---|---|
ParserConfigurator |
ParserConfigurator.addProperties(Map<String,Object> properties)
Adds a collection of properties with the given key-value mappings for the underlying parser.
|
ParserConfigurator |
ParserConfigurator.addProperty(String key,
Object val)
Adds a property with the given key and value for the underlying parser to use.
|
ParserConfigurator |
Parser.configureParser(List<String> contextPath,
ClassLoader loader)
Creates an initial configurator object to be used to facilitate the marshaling and unmarshaling
processes.
|
ParserConfigurator |
ParserConfigurator.setAdapter(XmlAdapter adapter)
Sets XML-specific adapter.
|
ParserConfigurator |
ParserConfigurator.setClassLoader(ClassLoader loader)
Sets the classloader to be used by underlying implementations.
|
ParserConfigurator |
ParserConfigurator.setContextPath(List<String> contextPath)
Sets the list of paths that implementations can search in order to find binding information.
|
ParserConfigurator |
ParserConfigurator.setHandler(ValidationEventHandler handler)
Sets XML-specific validation handler.
|
Modifier and Type | Method and Description |
---|---|
void |
Parser.marshal(ParserConfigurator configurator,
Object obj,
Node node)
Converts an object graph into a Node,
|
void |
Parser.marshal(ParserConfigurator configurator,
Object obj,
OutputStream os)
Converts an object graph into the appropriate output format, writing it to the given stream.
|
<T> T |
Parser.unmarshal(ParserConfigurator configurator,
Class<? extends T> cls,
InputStream stream)
Converts a representation of an object graph into an instance of type
T . |
<T> T |
Parser.unmarshal(ParserConfigurator configurator,
Class<? extends T> cls,
Node node)
Converts a representation of an object graph into an instance of type
T . |
<T> T |
Parser.unmarshal(ParserConfigurator configurator,
Class<? extends T> cls,
Source source)
Converts a representation of an object graph into an instance of type
T . |
Modifier and Type | Class and Description |
---|---|
class |
XmlParserConfigurator |
Modifier and Type | Method and Description |
---|---|
ParserConfigurator |
XmlParserConfigurator.addProperties(Map<String,Object> properties) |
ParserConfigurator |
XmlParserConfigurator.addProperty(String key,
Object val) |
ParserConfigurator |
XmlParser.configureParser(List<String> contextPath,
ClassLoader loader) |
ParserConfigurator |
XmlParserConfigurator.setAdapter(XmlAdapter adapter) |
ParserConfigurator |
XmlParserConfigurator.setClassLoader(ClassLoader loader) |
ParserConfigurator |
XmlParserConfigurator.setContextPath(List contextPath) |
ParserConfigurator |
XmlParserConfigurator.setHandler(ValidationEventHandler handler) |
Modifier and Type | Method and Description |
---|---|
void |
XmlParser.marshal(ParserConfigurator configurator,
Object obj,
Node node) |
void |
XmlParser.marshal(ParserConfigurator configurator,
Object obj,
OutputStream os) |
<T> T |
XmlParser.unmarshal(ParserConfigurator configurator,
Class<? extends T> cls,
InputStream stream) |
<T> T |
XmlParser.unmarshal(ParserConfigurator configurator,
Class<? extends T> cls,
Node node) |
<T> T |
XmlParser.unmarshal(ParserConfigurator configurator,
Class<? extends T> cls,
Source source) |
This work is licensed under a Creative Commons Attribution 4.0 International License.