ch.javasoft.xml.config
Enum StreamConfigParser.XmlInputStreamType
java.lang.Object
java.lang.Enum<StreamConfigParser.XmlInputStreamType>
ch.javasoft.xml.config.StreamConfigParser.XmlInputStreamType
- All Implemented Interfaces:
- Serializable, Comparable<StreamConfigParser.XmlInputStreamType>
- Enclosing class:
- StreamConfigParser
public static enum StreamConfigParser.XmlInputStreamType
- extends Enum<StreamConfigParser.XmlInputStreamType>
file
public static final StreamConfigParser.XmlInputStreamType file
url
public static final StreamConfigParser.XmlInputStreamType url
values
public static StreamConfigParser.XmlInputStreamType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (StreamConfigParser.XmlInputStreamType c : StreamConfigParser.XmlInputStreamType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static StreamConfigParser.XmlInputStreamType valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
xmlName
public String xmlName()
find
public static StreamConfigParser.XmlInputStreamType find(String typeAttributeValue)