A class with methods for creating instances
of
Method from org.apache.xmlbeans.XmlByte$Factory Detail: |
public static XmlByte newInstance() {
return (XmlByte) XmlBeans.getContextTypeLoader().newInstance( type, null );
}
Creates an empty instance of XmlByte |
public static XmlByte newInstance(XmlOptions options) {
return (XmlByte) XmlBeans.getContextTypeLoader().newInstance( type, options );
}
Creates an empty instance of XmlByte |
public static XMLInputStream newValidatingXMLInputStream(XMLInputStream xis) throws XmlException, XMLStreamException {
return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null );
} Deprecated! XMLInputStream - was deprecated by XMLStreamReader from STaX - jsr173 API.
Returns a validating XMLInputStream. |
public static XMLInputStream newValidatingXMLInputStream(XMLInputStream xis,
XmlOptions options) throws XmlException, XMLStreamException {
return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options );
} Deprecated! XMLInputStream - was deprecated by XMLStreamReader from STaX - jsr173 API.
Returns a validating XMLInputStream. |
public static XmlByte newValue(Object obj) {
return (XmlByte) type.newValue( obj );
}
|
public static XmlByte parse(String s) throws XmlException {
return (XmlByte) XmlBeans.getContextTypeLoader().parse( s, type, null );
}
Parses a XmlByte fragment from a String. For example: "<xml-fragment>123</xml-fragment> ". |
public static XmlByte parse(File f) throws XmlException, IOException {
return (XmlByte) XmlBeans.getContextTypeLoader().parse( f, type, null );
}
Parses a XmlByte fragment from a File. |
public static XmlByte parse(URL u) throws XmlException, IOException {
return (XmlByte) XmlBeans.getContextTypeLoader().parse( u, type, null );
}
Parses a XmlByte fragment from a URL. |
public static XmlByte parse(InputStream is) throws XmlException, IOException {
return (XmlByte) XmlBeans.getContextTypeLoader().parse( is, type, null );
}
Parses a XmlByte fragment from an InputStream. |
public static XmlByte parse(Reader r) throws XmlException, IOException {
return (XmlByte) XmlBeans.getContextTypeLoader().parse( r, type, null );
}
Parses a XmlByte fragment from a Reader. |
public static XmlByte parse(Node node) throws XmlException {
return (XmlByte) XmlBeans.getContextTypeLoader().parse( node, type, null );
}
Parses a XmlByte fragment from a DOM Node. |
public static XmlByte parse(XMLInputStream xis) throws XmlException, XMLStreamException {
return (XmlByte) XmlBeans.getContextTypeLoader().parse( xis, type, null );
} Deprecated! XMLInputStream - was deprecated by XMLStreamReader from STaX - jsr173 API.
Parses a XmlByte fragment from an XMLInputStream. |
public static XmlByte parse(XMLStreamReader xsr) throws XmlException {
return (XmlByte) XmlBeans.getContextTypeLoader().parse( xsr, type, null );
}
Parses a XmlByte fragment from an XMLStreamReader. |
public static XmlByte parse(String s,
XmlOptions options) throws XmlException {
return (XmlByte) XmlBeans.getContextTypeLoader().parse( s, type, options );
}
Parses a XmlByte fragment from a String. For example: "<xml-fragment>123</xml-fragment> ". |
public static XmlByte parse(File f,
XmlOptions options) throws XmlException, IOException {
return (XmlByte) XmlBeans.getContextTypeLoader().parse( f, type, options );
}
Parses a XmlByte fragment from a File. |
public static XmlByte parse(URL u,
XmlOptions options) throws XmlException, IOException {
return (XmlByte) XmlBeans.getContextTypeLoader().parse( u, type, options );
}
Parses a XmlByte fragment from a URL. |
public static XmlByte parse(InputStream is,
XmlOptions options) throws XmlException, IOException {
return (XmlByte) XmlBeans.getContextTypeLoader().parse( is, type, options );
}
Parses a XmlByte fragment from an InputStream. |
public static XmlByte parse(Reader r,
XmlOptions options) throws XmlException, IOException {
return (XmlByte) XmlBeans.getContextTypeLoader().parse( r, type, options );
}
Parses a XmlByte fragment from a Reader. |
public static XmlByte parse(Node node,
XmlOptions options) throws XmlException {
return (XmlByte) XmlBeans.getContextTypeLoader().parse( node, type, options );
}
Parses a XmlByte fragment from a DOM Node. |
public static XmlByte parse(XMLInputStream xis,
XmlOptions options) throws XmlException, XMLStreamException {
return (XmlByte) XmlBeans.getContextTypeLoader().parse( xis, type, options );
} Deprecated! XMLInputStream - was deprecated by XMLStreamReader from STaX - jsr173 API.
Parses a XmlByte fragment from an XMLInputStream. |
public static XmlByte parse(XMLStreamReader xsr,
XmlOptions options) throws XmlException {
return (XmlByte) XmlBeans.getContextTypeLoader().parse( xsr, type, options );
}
Parses a XmlByte fragment from an XMLStreamReader. |