|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.bea.p13n.util.DomUtils
public class DomUtils
Field Summary | |
---|---|
static String |
XML_SCHEMA_INSTANCE_NS_URI |
static String |
XMLNS_NS_PREFIX |
static String |
XMLNS_NS_URI |
Method Summary | |
---|---|
static List<Element> |
findAllChildElements(Element parent, String localName) Finds all child elements matching the local name, while ignoring the namespace URI. |
static List<Element> |
findAllChildElements(Element parent, String localName, String namespaceURI) Find all child elements matching the given local name and namespace URI |
static Element |
findFirstChildElement(Element parent, String localName) Finds the first child element matching the given local name |
static boolean |
getBooleanValue(Element element) |
static boolean |
getBooleanValue(String textValue) |
static Element |
getChildElement(Element parent, String localName) Recursively find an element with the given local name. |
static Element |
getFirstChildElement(Element parent, String namespaceUri, String localName) Find the first child element matching the given namespace URI and local name |
static Element |
getFirstChildElement(Element parent, String namespaceUri, String localName, boolean createElement) |
static String |
getLocalName(String qualifiedName) Extracts the local qualifiedName from the given qualified qualifiedName |
static QName |
getQNameContent(Element element) |
static QName |
getQNameContent(Element element, String str) |
static String |
getTextContent(Element element) Returns the text content of an element, provided the first child of the element is a Text node. |
static boolean |
isChildNil(Element parent, String localName) Checks if the child element is missing or is nil. |
static boolean |
isJAXBPrimitiveType(Class c) |
static boolean |
isJAXBType(Class c) Determines if the specified Class is JAXB-bindable into its own document-- as a "root element" |
static boolean |
isJAXBTypeIntance(Object o) |
static boolean |
isNil(Element element) Returns true if the given element is nillable. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String XML_SCHEMA_INSTANCE_NS_URI
public static final String XMLNS_NS_URI
public static final String XMLNS_NS_PREFIX
Method Detail |
---|
public static Element getChildElement(Element parent, String localName)
parent
- parentlocalName
- local name of the childpublic static Element findFirstChildElement(Element parent, String localName)
parent
- parentlocalName
- local name of the child elementpublic static Element getFirstChildElement(Element parent, String namespaceUri, String localName)
parent
- parent elementnamespaceUri
- namespace URI of the childlocalName
- local name of the childpublic static List<Element> findAllChildElements(Element parent, String localName)
public static List<Element> findAllChildElements(Element parent, String localName, String namespaceURI)
public static boolean isChildNil(Element parent, String localName)
parent
- parentlocalName
- local name of the childpublic static boolean isNil(Element element)
element
- elementpublic static boolean getBooleanValue(Element element)
public static boolean getBooleanValue(String textValue)
public static String getTextContent(Element element)
element
- elementpublic static String getLocalName(String qualifiedName)
qualifiedName
- qualified namepublic static QName getQNameContent(Element element)
public static QName getQNameContent(Element element, String str)
public static Element getFirstChildElement(Element parent, String namespaceUri, String localName, boolean createElement)
public static boolean isJAXBTypeIntance(Object o)
public static boolean isJAXBType(Class c)
public static boolean isJAXBPrimitiveType(Class c)
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2010, Oracle. All rights reserved.