|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object y.io.graphml.input.AbstractDeserializer y.io.graphml.input.NameBasedDeserializer
public abstract class NameBasedDeserializer
Convenience base class for implementations of AbstractDeserializer
that uses the fully qualified name of the
source node for the predicate.
Constructor Summary | |
---|---|
NameBasedDeserializer()
|
Method Summary | |
---|---|
boolean |
canHandle(DeserializationEvent e)
Returns true if DeserializationEvent.getXmlNode() satisfies the properties of this class. |
abstract java.lang.String |
getNamespaceURI(GraphMLParseContext context)
The namespace URI that the node must satisfy if it should be deserialized. |
abstract java.lang.String |
getNodeName(GraphMLParseContext context)
The local name that the node must satisfy if it should be deserialized. |
boolean |
handleElementsOnly(GraphMLParseContext context)
Returns true if this deserializer should handle only XML elements. |
Methods inherited from class y.io.graphml.input.AbstractDeserializer |
---|
deserializeNode, onHandleDeserialization |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NameBasedDeserializer()
Method Detail |
---|
public abstract java.lang.String getNamespaceURI(GraphMLParseContext context)
public abstract java.lang.String getNodeName(GraphMLParseContext context)
public boolean handleElementsOnly(GraphMLParseContext context)
true
if this deserializer should handle only XML elements.
This implementation always returns true
.
context
- The current parse context.
true
if this deserializer should handle only XML elements.public boolean canHandle(DeserializationEvent e)
DeserializationEvent.getXmlNode()
satisfies the properties of this class.
canHandle
in class AbstractDeserializer
e
- The event data.
true
iff the node should be parsed.
|
© Copyright 2000-2022, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |