Package org.apache.xmlbeans.impl.store
Class Locale
- java.lang.Object
-
- org.apache.xmlbeans.impl.store.Locale
-
- All Implemented Interfaces:
XmlLocale
,Saaj.SaajCallback
,org.w3c.dom.DOMImplementation
public final class Locale extends java.lang.Object implements org.w3c.dom.DOMImplementation, Saaj.SaajCallback, XmlLocale
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
COPY_USE_NEW_LOCALE
Deprecated.Replace usages with CopyUseNewSynchronizationDomain optionstatic java.lang.String
USE_SAME_LOCALE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static void
clearThreadLocals()
org.w3c.dom.Document
createDocument(java.lang.String uri, java.lang.String qname, org.w3c.dom.DocumentType doctype)
org.w3c.dom.DocumentType
createDocumentType(java.lang.String qname, java.lang.String publicId, java.lang.String systemId)
org.w3c.dom.Element
createSoapElement(javax.xml.namespace.QName name, javax.xml.namespace.QName parentName)
void
enter()
void
enter(Locale otherLocale)
void
exit()
void
exit(Locale otherLocale)
java.lang.Object
getFeature(java.lang.String feature, java.lang.String version)
java.lang.Object
getSaajData(org.w3c.dom.Node n)
boolean
hasFeature(java.lang.String feature, java.lang.String version)
org.w3c.dom.Element
importSoapElement(org.w3c.dom.Document doc, org.w3c.dom.Element elem, boolean deep, javax.xml.namespace.QName parentName)
org.apache.xmlbeans.impl.store.DomImpl.Dom
load(java.io.InputStream in)
org.apache.xmlbeans.impl.store.DomImpl.Dom
load(java.io.InputStream in, XmlOptions options)
org.apache.xmlbeans.impl.store.DomImpl.Dom
load(java.io.Reader r)
org.apache.xmlbeans.impl.store.DomImpl.Dom
load(java.io.Reader r, XmlOptions options)
org.apache.xmlbeans.impl.store.DomImpl.Dom
load(java.lang.String s)
org.apache.xmlbeans.impl.store.DomImpl.Dom
load(java.lang.String s, XmlOptions options)
static org.w3c.dom.DOMImplementation
newDomImplementation(SchemaTypeLoader stl, XmlOptions options)
static XmlObject
newInstance(SchemaTypeLoader stl, SchemaType type, XmlOptions options)
static XmlSaxHandler
newSaxHandler(SchemaTypeLoader stl, SchemaType type, XmlOptions options)
XmlSaxHandler
newSaxHandler(SchemaType type, XmlOptions options)
static XmlCursor
nodeToCursor(org.w3c.dom.Node n)
static XmlObject
nodeToXmlObject(org.w3c.dom.Node n)
static javax.xml.stream.XMLStreamReader
nodeToXmlStream(org.w3c.dom.Node n)
boolean
noSync()
XmlObject
parseToXmlObject(javax.xml.stream.XMLStreamReader xsr, SchemaType type, XmlOptions options)
static XmlObject
parseToXmlObject(SchemaTypeLoader stl, java.io.InputStream is, SchemaType type, XmlOptions options)
static XmlObject
parseToXmlObject(SchemaTypeLoader stl, java.io.Reader reader, SchemaType type, XmlOptions options)
static XmlObject
parseToXmlObject(SchemaTypeLoader stl, java.lang.String xmlText, SchemaType type, XmlOptions options)
static XmlObject
parseToXmlObject(SchemaTypeLoader stl, javax.xml.stream.XMLStreamReader xsr, SchemaType type, XmlOptions options)
static XmlObject
parseToXmlObject(SchemaTypeLoader stl, XMLInputStream xis, SchemaType type, XmlOptions options)
Deprecated.XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.static XmlObject
parseToXmlObject(SchemaTypeLoader stl, org.w3c.dom.Node node, SchemaType type, XmlOptions options)
XmlObject
parseToXmlObject(XMLInputStream xis, SchemaType type, XmlOptions options)
Deprecated.XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.XmlObject
parseToXmlObject(org.w3c.dom.Node node, SchemaType type, XmlOptions options)
void
setSaajData(org.w3c.dom.Node n, java.lang.Object o)
static org.w3c.dom.Node
streamToNode(javax.xml.stream.XMLStreamReader xs)
boolean
sync()
-
-
-
Field Detail
-
USE_SAME_LOCALE
public static final java.lang.String USE_SAME_LOCALE
- See Also:
- Constant Field Values
-
COPY_USE_NEW_LOCALE
public static final java.lang.String COPY_USE_NEW_LOCALE
Deprecated.Replace usages with CopyUseNewSynchronizationDomain optionThis option is checked in XmlObjectBase._copy(XmlOptions), the locale is used as the synchronization domain. useNewLocale = true: copy will use a new locale, false: copy will use the same locale as the source
-
-
Method Detail
-
newInstance
public static XmlObject newInstance(SchemaTypeLoader stl, SchemaType type, XmlOptions options)
-
newDomImplementation
public static org.w3c.dom.DOMImplementation newDomImplementation(SchemaTypeLoader stl, XmlOptions options)
-
parseToXmlObject
public static XmlObject parseToXmlObject(SchemaTypeLoader stl, java.lang.String xmlText, SchemaType type, XmlOptions options) throws XmlException
- Throws:
XmlException
-
parseToXmlObject
public static XmlObject parseToXmlObject(SchemaTypeLoader stl, XMLInputStream xis, SchemaType type, XmlOptions options) throws XmlException, XMLStreamException
Deprecated.XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.- Throws:
XmlException
XMLStreamException
-
parseToXmlObject
public XmlObject parseToXmlObject(XMLInputStream xis, SchemaType type, XmlOptions options) throws XmlException, XMLStreamException
Deprecated.XMLInputStream was deprecated by XMLStreamReader from STaX - jsr173 API.- Throws:
XmlException
XMLStreamException
-
parseToXmlObject
public static XmlObject parseToXmlObject(SchemaTypeLoader stl, javax.xml.stream.XMLStreamReader xsr, SchemaType type, XmlOptions options) throws XmlException
- Throws:
XmlException
-
parseToXmlObject
public XmlObject parseToXmlObject(javax.xml.stream.XMLStreamReader xsr, SchemaType type, XmlOptions options) throws XmlException
- Throws:
XmlException
-
parseToXmlObject
public static XmlObject parseToXmlObject(SchemaTypeLoader stl, java.io.InputStream is, SchemaType type, XmlOptions options) throws XmlException, java.io.IOException
- Throws:
XmlException
java.io.IOException
-
parseToXmlObject
public static XmlObject parseToXmlObject(SchemaTypeLoader stl, java.io.Reader reader, SchemaType type, XmlOptions options) throws XmlException, java.io.IOException
- Throws:
XmlException
java.io.IOException
-
parseToXmlObject
public static XmlObject parseToXmlObject(SchemaTypeLoader stl, org.w3c.dom.Node node, SchemaType type, XmlOptions options) throws XmlException
- Throws:
XmlException
-
parseToXmlObject
public XmlObject parseToXmlObject(org.w3c.dom.Node node, SchemaType type, XmlOptions options) throws XmlException
- Throws:
XmlException
-
newSaxHandler
public static XmlSaxHandler newSaxHandler(SchemaTypeLoader stl, SchemaType type, XmlOptions options)
-
newSaxHandler
public XmlSaxHandler newSaxHandler(SchemaType type, XmlOptions options)
-
clearThreadLocals
public static void clearThreadLocals()
-
enter
public void enter(Locale otherLocale)
-
exit
public void exit(Locale otherLocale)
-
load
public org.apache.xmlbeans.impl.store.DomImpl.Dom load(java.io.Reader r) throws XmlException, java.io.IOException
- Throws:
XmlException
java.io.IOException
-
load
public org.apache.xmlbeans.impl.store.DomImpl.Dom load(java.io.Reader r, XmlOptions options) throws XmlException, java.io.IOException
- Throws:
XmlException
java.io.IOException
-
load
public org.apache.xmlbeans.impl.store.DomImpl.Dom load(java.io.InputStream in) throws XmlException, java.io.IOException
- Throws:
XmlException
java.io.IOException
-
load
public org.apache.xmlbeans.impl.store.DomImpl.Dom load(java.io.InputStream in, XmlOptions options) throws XmlException, java.io.IOException
- Throws:
XmlException
java.io.IOException
-
load
public org.apache.xmlbeans.impl.store.DomImpl.Dom load(java.lang.String s) throws XmlException
- Throws:
XmlException
-
load
public org.apache.xmlbeans.impl.store.DomImpl.Dom load(java.lang.String s, XmlOptions options) throws XmlException
- Throws:
XmlException
-
createDocument
public org.w3c.dom.Document createDocument(java.lang.String uri, java.lang.String qname, org.w3c.dom.DocumentType doctype)
- Specified by:
createDocument
in interfaceorg.w3c.dom.DOMImplementation
-
createDocumentType
public org.w3c.dom.DocumentType createDocumentType(java.lang.String qname, java.lang.String publicId, java.lang.String systemId)
- Specified by:
createDocumentType
in interfaceorg.w3c.dom.DOMImplementation
-
hasFeature
public boolean hasFeature(java.lang.String feature, java.lang.String version)
- Specified by:
hasFeature
in interfaceorg.w3c.dom.DOMImplementation
-
getFeature
public java.lang.Object getFeature(java.lang.String feature, java.lang.String version)
- Specified by:
getFeature
in interfaceorg.w3c.dom.DOMImplementation
-
nodeToCursor
public static XmlCursor nodeToCursor(org.w3c.dom.Node n)
-
nodeToXmlObject
public static XmlObject nodeToXmlObject(org.w3c.dom.Node n)
-
nodeToXmlStream
public static javax.xml.stream.XMLStreamReader nodeToXmlStream(org.w3c.dom.Node n)
-
streamToNode
public static org.w3c.dom.Node streamToNode(javax.xml.stream.XMLStreamReader xs)
-
setSaajData
public void setSaajData(org.w3c.dom.Node n, java.lang.Object o)
- Specified by:
setSaajData
in interfaceSaaj.SaajCallback
-
getSaajData
public java.lang.Object getSaajData(org.w3c.dom.Node n)
- Specified by:
getSaajData
in interfaceSaaj.SaajCallback
-
createSoapElement
public org.w3c.dom.Element createSoapElement(javax.xml.namespace.QName name, javax.xml.namespace.QName parentName)
- Specified by:
createSoapElement
in interfaceSaaj.SaajCallback
-
importSoapElement
public org.w3c.dom.Element importSoapElement(org.w3c.dom.Document doc, org.w3c.dom.Element elem, boolean deep, javax.xml.namespace.QName parentName)
- Specified by:
importSoapElement
in interfaceSaaj.SaajCallback
-
-