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