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