Search this API

y.io.graphml.input
Interface InputHandler

All Known Implementing Classes:
AbstractDataAcceptorInputHandler, AbstractInputHandler, AbstractReadNodePortHandler, ComplexDataAcceptorInputHandler, EdgeLayoutInputHandler, GraphMLHandler.BoolDataAcceptorInputHandler, GraphMLHandler.DoubleDataAcceptorInputHandler, GraphMLHandler.FloatDataAcceptorInputHandler, GraphMLHandler.IntDataAcceptorInputHandler, GraphMLHandler.LongDataAcceptorInputHandler, GraphMLHandler.StringDataAcceptorInputHandler, NodeLayoutInputHandler, NodePortGeometryReader, NodePortGraphicsReader, NodePortUserDataReader, PortConstraintInputHandler, PostprocessorInputHandler, ReadEdgeRealizerHandler, ReadNodeRealizerHandler

public interface InputHandler

Interface for handlers for graphml data attributes.

 

Method Summary
 void applyDefault(GraphMLParseContext context)
          This method is invoked when no data tag is defined, and the default value should be applied.
 ParsePrecedence getPrecedence()
          Gets the parse precedence that is associated with this instance.
 void parseData(GraphMLParseContext context, org.w3c.dom.Node node)
          This method is invoked each time a data element with matching key is processed.
 

Method Detail

getPrecedence

ParsePrecedence getPrecedence()
Gets the parse precedence that is associated with this instance.

Returns:
The parse precedence for this instance.

parseData

void parseData(GraphMLParseContext context,
               org.w3c.dom.Node node)
               throws GraphMLParseException
This method is invoked each time a data element with matching key is processed.

Parameters:
context - the current parse context.
node - the DOM node representing the data element.
Throws:
GraphMLParseException

applyDefault

void applyDefault(GraphMLParseContext context)
                  throws GraphMLParseException
This method is invoked when no data tag is defined, and the default value should be applied.

Parameters:
context - the current parse context.
Throws:
GraphMLParseException

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