public static final class XmlNMTOKEN.Factory extends Object
XmlNMTOKEN
.Modifier and Type | Method and Description |
---|---|
static XmlNMTOKEN |
newInstance()
Creates an empty instance of
XmlNMTOKEN |
static XmlNMTOKEN |
newInstance(XmlOptions options)
Creates an empty instance of
XmlNMTOKEN |
static XmlNMTOKEN |
newValue(Object obj)
Creates an immutable
XmlNMTOKEN value |
static XmlNMTOKEN |
parse(File f)
Parses a
XmlNMTOKEN fragment from a File. |
static XmlNMTOKEN |
parse(File f,
XmlOptions options)
Parses a
XmlNMTOKEN fragment from a File. |
static XmlNMTOKEN |
parse(InputStream is)
Parses a
XmlNMTOKEN fragment from an InputStream. |
static XmlNMTOKEN |
parse(InputStream is,
XmlOptions options)
Parses a
XmlNMTOKEN fragment from an InputStream. |
static XmlNMTOKEN |
parse(Node node)
Parses a
XmlNMTOKEN fragment from a DOM Node. |
static XmlNMTOKEN |
parse(Node node,
XmlOptions options)
Parses a
XmlNMTOKEN fragment from a DOM Node. |
static XmlNMTOKEN |
parse(Reader r)
Parses a
XmlNMTOKEN fragment from a Reader. |
static XmlNMTOKEN |
parse(Reader r,
XmlOptions options)
Parses a
XmlNMTOKEN fragment from a Reader. |
static XmlNMTOKEN |
parse(String s)
Parses a
XmlNMTOKEN fragment from a String. |
static XmlNMTOKEN |
parse(String s,
XmlOptions options)
Parses a
XmlNMTOKEN fragment from a String. |
static XmlNMTOKEN |
parse(URL u)
Parses a
XmlNMTOKEN fragment from a URL. |
static XmlNMTOKEN |
parse(URL u,
XmlOptions options)
Parses a
XmlNMTOKEN fragment from a URL. |
static XmlNMTOKEN |
parse(XMLStreamReader xsr)
Parses a
XmlNMTOKEN fragment from an XMLStreamReader. |
static XmlNMTOKEN |
parse(XMLStreamReader xsr,
XmlOptions options)
Parses a
XmlNMTOKEN fragment from an XMLStreamReader. |
public static XmlNMTOKEN newInstance()
XmlNMTOKEN
public static XmlNMTOKEN newInstance(XmlOptions options)
XmlNMTOKEN
public static XmlNMTOKEN newValue(Object obj)
XmlNMTOKEN
valuepublic static XmlNMTOKEN parse(String s) throws XmlException
XmlNMTOKEN
fragment from a String. For example: "<xml-fragment>sample-1.2</xml-fragment>
".XmlException
public static XmlNMTOKEN parse(String s, XmlOptions options) throws XmlException
XmlNMTOKEN
fragment from a String. For example: "<xml-fragment>sample-1.2</xml-fragment>
".XmlException
public static XmlNMTOKEN parse(File f) throws XmlException, IOException
XmlNMTOKEN
fragment from a File.XmlException
IOException
public static XmlNMTOKEN parse(File f, XmlOptions options) throws XmlException, IOException
XmlNMTOKEN
fragment from a File.XmlException
IOException
public static XmlNMTOKEN parse(URL u) throws XmlException, IOException
XmlNMTOKEN
fragment from a URL.XmlException
IOException
public static XmlNMTOKEN parse(URL u, XmlOptions options) throws XmlException, IOException
XmlNMTOKEN
fragment from a URL.XmlException
IOException
public static XmlNMTOKEN parse(InputStream is) throws XmlException, IOException
XmlNMTOKEN
fragment from an InputStream.XmlException
IOException
public static XmlNMTOKEN parse(InputStream is, XmlOptions options) throws XmlException, IOException
XmlNMTOKEN
fragment from an InputStream.XmlException
IOException
public static XmlNMTOKEN parse(Reader r) throws XmlException, IOException
XmlNMTOKEN
fragment from a Reader.XmlException
IOException
public static XmlNMTOKEN parse(Reader r, XmlOptions options) throws XmlException, IOException
XmlNMTOKEN
fragment from a Reader.XmlException
IOException
public static XmlNMTOKEN parse(Node node) throws XmlException
XmlNMTOKEN
fragment from a DOM Node.XmlException
public static XmlNMTOKEN parse(Node node, XmlOptions options) throws XmlException
XmlNMTOKEN
fragment from a DOM Node.XmlException
public static XmlNMTOKEN parse(XMLStreamReader xsr) throws XmlException
XmlNMTOKEN
fragment from an XMLStreamReader.XmlException
public static XmlNMTOKEN parse(XMLStreamReader xsr, XmlOptions options) throws XmlException
XmlNMTOKEN
fragment from an XMLStreamReader.XmlException