|
Oracle Fusion Middleware Workflow Services Java API Reference for Oracle SOA Suite 11g Release 1 (11.1.1.7) E10660-11 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.bpel.services.common.util.JaxbUtil
public class JaxbUtil
Field Summary | |
---|---|
static java.lang.String |
XML_V2_NS
|
Constructor Summary | |
---|---|
JaxbUtil()
|
Method Summary | |
---|---|
static java.lang.Object |
clone(java.io.Serializable value)
Clone a (serializable JAXB) object. |
static java.util.Map |
getNamespaceDeclaration(JaxbNode node)
Get the namespaces defined at a particular JAXB node |
static java.lang.String |
getValidationEventMessage(javax.xml.bind.ValidationEvent e)
Get the string message for a ValidationEvent |
static void |
setNamespaceDeclaration(JaxbNode node,
java.util.Map namespaceMap)
Set namespace declaration in this JaxbNode |
static void |
setNamespaceDeclaration(JaxbNode node,
java.lang.String prefix,
java.lang.String uri)
Set namespace declaration in this JaxbNode |
static java.lang.Object |
unmarshallJAXBFromElem(org.w3c.dom.Element elem,
java.lang.String jaxbContextPath)
Deprecated. Use context-path specific AbstractJaxbUtil implementation instead |
static java.lang.Object |
unmarshallJAXBFromElem(org.w3c.dom.Element elem,
java.lang.String tagName,
java.lang.String jaxbContextPath)
Deprecated. Use context-path specific AbstractJaxbUtil implementation instead |
static java.lang.Object |
unmarshallJAXBFromElem(org.w3c.dom.Element elem,
java.lang.String tagName,
java.lang.String namespace,
java.lang.String jaxbContextPath)
Deprecated. Use context-path specific AbstractJaxbUtil implementation instead |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String XML_V2_NS
Constructor Detail |
---|
public JaxbUtil()
Method Detail |
---|
public static java.util.Map getNamespaceDeclaration(JaxbNode node) throws javax.xml.bind.JAXBException
node
- a JaxbNode
node
Map
containing the namespaces declared
javax.xml.bind.JAXBException
- if an error occurspublic static void setNamespaceDeclaration(JaxbNode node, java.lang.String prefix, java.lang.String uri) throws javax.xml.bind.JAXBException
node
- a JaxbNode
nodeprefix
- The namespace prefixuri
- The namespace URI
javax.xml.bind.JAXBException
- if an error occurspublic static void setNamespaceDeclaration(JaxbNode node, java.util.Map namespaceMap) throws javax.xml.bind.JAXBException
node
- a JaxbNode
nodenamespaceMap
- Map containing namespace declaration. The key
should be just the prefix and the value should be the namespace URI
javax.xml.bind.JAXBException
- if an error occurspublic static java.lang.String getValidationEventMessage(javax.xml.bind.ValidationEvent e)
e
- A ValidationEvent value
public static java.lang.Object unmarshallJAXBFromElem(org.w3c.dom.Element elem, java.lang.String jaxbContextPath) throws javax.xml.bind.JAXBException
elem
- org.w3c.dom.Element containining an Element to unmarshalljaxbContextPath
- path to Package containing appropriate JAXB classes
that represent the Element
java.lang.Exception
javax.xml.bind.JAXBException
public static java.lang.Object unmarshallJAXBFromElem(org.w3c.dom.Element elem, java.lang.String tagName, java.lang.String jaxbContextPath) throws javax.xml.bind.JAXBException
elem
- org.w3c.dom.Element containining an Element to unmarshalltagName
- String identifying ElementjaxbContextPath
- path to Package containing appropriate JAXB classes
that represent the Element
java.lang.Exception
javax.xml.bind.JAXBException
public static java.lang.Object unmarshallJAXBFromElem(org.w3c.dom.Element elem, java.lang.String tagName, java.lang.String namespace, java.lang.String jaxbContextPath) throws javax.xml.bind.JAXBException
elem
- org.w3c.dom.Element containining an Element to unmarshalltagName
- String identifying Elementnamespace
- String namespace of Element (if null
, lookup
will be by tagName onlyjaxbContextPath
- path to Package containing appropriate JAXB classes
that represent the Element
java.lang.Exception
javax.xml.bind.JAXBException
public static java.lang.Object clone(java.io.Serializable value) throws java.lang.Exception
value
- A serializable (JAXB) object
java.lang.Exception
- In the case of a serialization/deserialization error
|
Oracle Fusion Middleware Workflow Services Java API Reference for Oracle SOA Suite 11g Release 1 (11.1.1.7) E10660-11 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |