Search this API

y.io.graphml
Class GraphMLHandler.StringDataAcceptorInputHandler

java.lang.Object
  extended by y.io.graphml.input.AbstractInputHandler
      extended by y.io.graphml.input.AbstractDataAcceptorInputHandler
          extended by y.io.graphml.GraphMLHandler.StringDataAcceptorInputHandler
All Implemented Interfaces:
InputHandler
Enclosing class:
GraphMLHandler

public static class GraphMLHandler.StringDataAcceptorInputHandler
extends AbstractDataAcceptorInputHandler

Simple implementation of AbstractDataAcceptorInputHandler that can read string values.

 

Constructor Summary
GraphMLHandler.StringDataAcceptorInputHandler()
           
 
Method Summary
protected  java.lang.Object parseDataCore(GraphMLParseContext context, org.w3c.dom.Node node)
          Abstract method callback that actually parses the data.
 
Methods inherited from class y.io.graphml.input.AbstractDataAcceptorInputHandler
getDataAcceptor, setDataAcceptor, setValue
 
Methods inherited from class y.io.graphml.input.AbstractInputHandler
applyDefault, getDefaultValue, getPrecedence, getValidScopes, initializeFromKeyDefinition, isDefaultExists, isParseDefaultValue, parseData, setDefaultExists, setDefaultValue, setParseDefaultValue, setPrecedence, setValidScopes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphMLHandler.StringDataAcceptorInputHandler

public GraphMLHandler.StringDataAcceptorInputHandler()
Method Detail

parseDataCore

protected java.lang.Object parseDataCore(GraphMLParseContext context,
                                         org.w3c.dom.Node node)
                                  throws GraphMLParseException
Description copied from class: AbstractInputHandler
Abstract method callback that actually parses the data.

Specified by:
parseDataCore in class AbstractInputHandler
Parameters:
context - The context.
node - The node that contains the data. This is either the GraphML data element or the default element.
Returns:
The parsed data.
Throws:
GraphMLParseException

© Copyright 2000-2022,
yWorks GmbH.
All rights reserved.