public class NullLexicalProcessor extends Object implements LexicalProcessor<XNode>
Constructor and Description |
---|
NullLexicalProcessor() |
Modifier and Type | Method and Description |
---|---|
boolean |
canRead(File file)
Checks if the processor can read from a given file.
|
boolean |
canRead(String dataString)
Checks if the processor can read from a given string.
|
RootXNode |
read(ParserSource source,
ParsingContext parsingContext) |
List<RootXNode> |
readObjects(ParserSource source,
ParsingContext parsingContext) |
XNode |
write(RootXNode xnode,
SerializationContext serializationContext)
Serializes a root node into XNode tree.
|
XNode |
write(XNode xnode,
QName rootElementName,
SerializationContext serializationContext)
Serializes a non-root node into XNode tree.
|
@NotNull public RootXNode read(@NotNull ParserSource source, @NotNull ParsingContext parsingContext) throws SchemaException, IOException
read
in interface LexicalProcessor<XNode>
SchemaException
IOException
@NotNull public List<RootXNode> readObjects(ParserSource source, ParsingContext parsingContext) throws SchemaException, IOException
readObjects
in interface LexicalProcessor<XNode>
SchemaException
IOException
public boolean canRead(@NotNull File file) throws IOException
LexicalProcessor
canRead
in interface LexicalProcessor<XNode>
IOException
public boolean canRead(@NotNull String dataString)
LexicalProcessor
canRead
in interface LexicalProcessor<XNode>
@NotNull public XNode write(@NotNull RootXNode xnode, @Nullable SerializationContext serializationContext) throws SchemaException
LexicalProcessor
write
in interface LexicalProcessor<XNode>
SchemaException
@NotNull public XNode write(@NotNull XNode xnode, @NotNull QName rootElementName, @Nullable SerializationContext serializationContext) throws SchemaException
LexicalProcessor
write
in interface LexicalProcessor<XNode>
SchemaException
Copyright © 2016 Evolveum. All rights reserved.