Search this API

y.io.graphml.output
Class GraphMLXmlAttribute

java.lang.Object
  extended by y.io.graphml.output.GraphMLXmlAttribute

public class GraphMLXmlAttribute
extends Object

A class for use in the OutputHandler interface that encapsulates an XML attribute.


Constructor Summary
GraphMLXmlAttribute(String localName, String xmlNamespace, String value)
          Initializes a new instance of the GraphMLXmlAttribute struct.
 
Method Summary
 String getLocalName()
          Gets the local name of the attribute.
 String getNamespace()
          Gets the namespace for the attribute to use or null.
 String getValue()
          Gets the value of the attribute.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphMLXmlAttribute

public GraphMLXmlAttribute(String localName,
                           String xmlNamespace,
                           String value)
Initializes a new instance of the GraphMLXmlAttribute struct.

Parameters:
localName - The local name.
xmlNamespace - The namespace.
value - The value of the attribute.
Method Detail

getLocalName

public String getLocalName()
Gets the local name of the attribute.

Returns:
The local name.

getNamespace

public String getNamespace()
Gets the namespace for the attribute to use or null.

Returns:
The namespace to use.

getValue

public String getValue()
Gets the value of the attribute.

Returns:
The value.

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