public enum GraphMLXsd extends Enum<GraphMLXsd>
| Enum Constant and Description |
|---|
ATTRIBUTES
An XSD that extends the GraphML format to redefine its attributes.
|
GRAPHML
An XSD that defines the basics of the GraphML format.
|
PARSE_INFO
An XSD that extends the GraphML format to redefine its parse information.
|
STRUCTURE
An XSD that extends the GraphML format to redefine its structure.
|
XLINK
An XSD that defines attributes that can be used to create hyperlinks.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getNamespaceURI()
Returns the current XSD namespace URI.
|
String |
getResourceFilename()
Returns the current XSD filename.
|
String |
getSystemId()
Returns the current XML system ID.
|
static Optional<GraphMLXsd> |
resolveXsd(String systemId,
String namespaceURI)
Looks for an XSD value that matches the given
systemId and namespaceURI and returns it as an
Optional. |
static GraphMLXsd |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GraphMLXsd[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GraphMLXsd ATTRIBUTES
public static final GraphMLXsd GRAPHML
public static final GraphMLXsd PARSE_INFO
public static final GraphMLXsd STRUCTURE
public static final GraphMLXsd XLINK
public static GraphMLXsd[] values()
for (GraphMLXsd c : GraphMLXsd.values()) System.out.println(c);
public static GraphMLXsd valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static Optional<GraphMLXsd> resolveXsd(String systemId, String namespaceURI)
systemId and namespaceURI and returns it as an
Optional.systemId - the expected XSD system ID.namespaceURI - the expected XSD namespace URI.Optional of GraphMLXsd or empty if no match were to be found.public String getNamespaceURI()
public String getResourceFilename()
public String getSystemId()
Copyright © 2020. All rights reserved.