|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.novell.nds.dirxml.util.DxDOMUtil
public abstract class DxDOMUtil
A utility class for performing various common and useful DOM operations that are not part of the DOM specification.
Field Summary | |
---|---|
protected static ExpandedQName |
SEARCH_NULL_ANY
Wildcard search name that will match the null namespace URI and any local part. |
static String |
TAG_WILDCARD
Wildcard value that can be used for both the namespaceURI and localPart parameters to
the various "ByTagName" functions |
Constructor Summary | |
---|---|
DxDOMUtil()
|
Method Summary | |
---|---|
static Document |
cloneDocument(Document doc)
Creates clone of a document. |
static Node |
cloneSubtree(Document targetDoc,
Node sourceRoot)
Clone a subtree, possibly into another document |
static boolean |
copyAttributeEx(ElementImpl src,
ExpandedQName attrName,
ElementImpl dest)
Copy an attribute from one element to another, but only if the attribute has a non-empty value. |
static boolean |
copyAttributeEx(ElementImpl src,
ExpandedQName srcAttrName,
ElementImpl dest,
ExpandedQName destAttrName)
Copy an attribute from one element to another, but only if the attribute has a non-empty value. |
static boolean |
copyAttributeNS(Element src,
String attrNamespaceURI,
String attrLocalName,
Element dest)
Copy an attribute from one element to another, but only if the attribute has a non-empty value |
static boolean |
copyAttributeNS(Element src,
String srcAttrNamespaceURI,
String srcAttrLocalPart,
Element dest,
String destAttrNamespaceURI,
String destAttrQName)
Copy an attribute from one element to another, with an new attribute name, but only if the attribute has a non-empty value. |
static Element[] |
elementArrayListToElementArray(ArrayList arrayList)
Create an array of Element s from an ArrayList containing only Element s. |
static ElementImpl[] |
elementImplArrayListToElementImplArray(ArrayList arrayList)
creates an array of ElementImpl s from an ArrayList containing
only ElementImpl s. |
static void |
ensureDOMImpl(XmlDocument src)
Conditionally convert the passed document to the DirXML DOM implementation. |
static String |
getAssociationState(Element element)
Get the value of the "state" attribute of the first <association> element found under the passed element. |
static String |
getAssociationStateEx(ElementImpl element)
Get the value of the "state" attribute of the first <association> element found under the passed element. |
static String |
getAssociationValue(Element element)
Get the value of the first <association> element found under the passed element. |
static String |
getAssociationValueEx(ElementImpl element)
Get the value of the first <association> element found under the passed element. |
static Element[] |
getChildElements(Node node)
Get all child elements of a node. |
static ElementImpl[] |
getChildElementsByTagNameEx(NodeImpl node,
ExpandedQName qName)
Get the all child elements of a node with a particular qualified tag name. |
static Element[] |
getChildElementsByTagNameNS(Node node,
String namespaceURI,
String localPart)
Get the all child elements of a node with a particular qualified tag name. |
static ElementImpl[] |
getChildElementsByTagNameWithAttrEx(NodeImpl node,
ExpandedQName elementName,
ExpandedQName attrName)
Get all child elements of a node with a particular QName and a particular non-empty attribute. |
static Element[] |
getChildElementsByTagNameWithAttrNS(Node node,
String namespaceURI,
String localPart,
String attrNamespaceURI,
String attrLocalPart)
Get all child elements of a node with a particular qualified tag name and a particular non-empty attribute. |
static ElementImpl[] |
getChildElementsByTagNameWithAttrValueEx(NodeImpl node,
ExpandedQName elementName,
ExpandedQName attrName,
String attrValue)
Get all child elements of a node with a particular QName and a particular attribute/value pair (value is case sensitive) |
static ElementImpl[] |
getChildElementsByTagNameWithAttrValueIgnoreCaseEx(NodeImpl node,
ExpandedQName elementName,
ExpandedQName attrName,
String attrValue)
Get all child elements of a node with a particular QName and a particular attribute/value pair (value is not case sensitive) |
static Element[] |
getChildElementsByTagNameWithAttrValueIgnoreCaseNS(Node node,
String namespaceURI,
String localPart,
String attrNamespaceURI,
String attrLocalPart,
String attrValue)
Get all child elements of a node with a particular tag name and a particular attribute/value pair (value is not case sensitive) |
static Element[] |
getChildElementsByTagNameWithAttrValueNS(Node node,
String namespaceURI,
String localPart,
String attrNamespaceURI,
String attrLocalPart,
String attrValue)
Get all child elements of a node with a particular tag name and a particular attribute/value pair (value is case sensitive) |
static ElementImpl[] |
getChildElementsEx(NodeImpl node)
Get all child elements of a node. |
static String |
getChildText(Node node)
Get the concatenation of all the child text nodes of the passed node. |
static NodeList |
getElementsByTagNameEx(NodeImpl node,
ExpandedQName qName)
Get all descendant Element s of a node with a particular tag name. |
static NodeList |
getElementsByTagNameNS(Node node,
String namespaceURI,
String localPart)
Get all descendant elements of a node with a particular qualified tag name. |
static ElementImpl[] |
getElementsByTagNameWithAttrEx(NodeImpl node,
ExpandedQName elementName,
ExpandedQName attrName)
Get all descendant elements of an node with a particular QName and a particular non-empty attribute. |
static Element[] |
getElementsByTagNameWithAttrNS(Node node,
String namespaceURI,
String localPart,
String attrNamespaceURI,
String attrLocalPart)
Get all descendant elements of an node with a particular tag name and a particular non-empty attribute. |
static ElementImpl[] |
getElementsByTagNameWithAttrValueEx(NodeImpl node,
ExpandedQName elementName,
ExpandedQName attrName,
String attrValue)
Get all descendant elements of an node with a QName and a particular attribute/value pair (value is case sensitive) |
static Element[] |
getElementsByTagNameWithAttrValueNS(Node node,
String namespaceURI,
String localPart,
String attrNamespaceURI,
String attrLocalPart,
String attrValue)
Get all descendant elements of an node with a particular tag name and a particular attribute/value pair (value is case sensitive) |
static ElementImpl |
getFirstAncestorElementByTagNameEx(NodeImpl node,
ExpandedQName elementName)
Get the nearest ancestor element of an node with a particular QName |
static Element |
getFirstAncestorElementByTagNameNS(Node node,
String namespaceURI,
String localPart)
Get the nearest ancestor element of an node with a particular tag name |
static ElementImpl |
getFirstAncestorElementByTagNameWithAttrEx(NodeImpl node,
ExpandedQName elementName,
ExpandedQName attrName)
Get the nearest ancestor element of an node with a particular QName and a particular non-empty attribute. |
static Element |
getFirstAncestorElementByTagNameWithAttrNS(Node node,
String namespaceURI,
String localPart,
String attrNamespaceURI,
String attrLocalPart)
Get the nearest ancestor element of an node with a particular tag name and a particular non-empty attribute. |
static Element |
getFirstChildElement(Node node)
Get the first child element of a node |
static ElementImpl |
getFirstChildElementByTagNameEx(NodeImpl node,
ExpandedQName qName)
Get the first child element of a node with a particular tag name. |
static Element |
getFirstChildElementByTagNameNS(Node node,
String namespaceURI,
String localPart)
Get a node's first child element with a particular qualified tag name. |
static ElementImpl |
getFirstChildElementByTagNameWithAttrValueEx(NodeImpl node,
ExpandedQName elementName,
ExpandedQName attrName,
String attrValue)
Get the first child element of a node with a particular tag name and a particular attribute/value pair (value is case sensitive) |
static ElementImpl |
getFirstChildElementByTagNameWithAttrValueIgnoreCaseEx(NodeImpl node,
ExpandedQName elementName,
ExpandedQName attrName,
String attrValue)
Get the first child element of a node with a particular tag name and a particular attribute/value pair (value is not case sensitive) |
static Element |
getFirstChildElementByTagNameWithAttrValueIgnoreCaseNS(Node node,
String namespaceURI,
String localPart,
String attrNamespaceURI,
String attrLocalPart,
String attrValue)
Get the first child element of a node with a particular tag name and a particular attribute/value pair (value is not case sensitive) |
static Element |
getFirstChildElementByTagNameWithAttrValueNS(Node node,
String namespaceURI,
String localPart,
String attrNamespaceURI,
String attrLocalPart,
String attrValue)
Get the first child element of a node with a particular tag name and a particular attribute/value pair (value is case sensitive) |
static ElementImpl |
getFirstChildElementEx(NodeImpl node)
Get the first child element of a node |
static ElementImpl |
getFirstElementByTagNameEx(NodeImpl node,
ExpandedQName qName)
Get first descendant element of an node with a particular tag name. |
static Element |
getFirstElementByTagNameNS(Node node,
String namespaceURI,
String localPart)
Get first descendant element of an node with a particular tag name. |
static ElementImpl |
getFirstElementByTagNameWithAttrValueEx(NodeImpl node,
ExpandedQName elementName,
ExpandedQName attrName,
String attrValue)
Get the first descendant element of an node with a particular QName and a particular attribute/value pair (value is case sensitive) |
static Element |
getFirstElementByTagNameWithAttrValueNS(Node node,
String namespaceURI,
String localPart,
String attrNamespaceURI,
String attrLocalPart,
String attrValue)
Get the first descendant elements of an node with a particular tag name and a particular attribute/value pair (value is case sensitive) |
static Element |
getFirstValue(Node node,
String attrName)
Get the first <value> element for the passed directory attribute. |
static ElementImpl |
getFirstValueEx(NodeImpl node,
String attrName)
Get the first <value> element for the passed directory attribute. |
static String |
getNodeText(Node node)
Get the string value for a node (as defined by XPath). |
static Date |
getTimestamp(Element element)
Get a Date instance from the timestamp attribute for an element |
static int |
getTimestampEventCount(Element element)
Get the timestamp event count from the timestamp attribute for an element |
static int |
getTimestampEventCountEx(ElementImpl element)
Get the timestamp event count from the timestamp attribute for an element |
static Date |
getTimestampEx(ElementImpl element)
Get a Date instance from the timestamp attribute for an element |
static void |
graftSubtree(Node parent,
Node sourceRoot)
Graft a cloned subtree, possibly into another document |
static Node[] |
nodeListToNodeArray(NodeList list)
Create an array of nodes from a NodeList . |
static void |
removeAllChildren(Node node)
Remove all the children of a node. |
static void |
removeChildElementsByTagNameEx(NodeImpl node,
ExpandedQName elementName)
Remove all child elements of a node with a particular QName. |
static void |
removeChildElementsByTagNameNS(Node node,
String namespaceURI,
String localPart)
Remove all child elements of a node with a particular tag name. |
static ElementImpl |
renameElementEx(ElementImpl element,
ExpandedQName newName)
Rename an element. |
static Element |
renameElementNS(Element element,
String namespaceURI,
String qName)
Rename an element. |
static void |
setNodeText(Node node,
String text)
Set the string value for a node. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String TAG_WILDCARD
namespaceURI
and localPart
parameters to
the various "ByTagName" functions
protected static final ExpandedQName SEARCH_NULL_ANY
Constructor Detail |
---|
public DxDOMUtil()
Method Detail |
---|
public static String getNodeText(Node node)
node
- the node
public static String getChildText(Node node)
node
- the parent node
public static void setNodeText(Node node, String text)
null
or empty no child is added.
node
- the parent nodetext
- the desired text value of the nodepublic static Element getFirstChildElement(Node node)
node
- the parent node
null
if no such element existspublic static ElementImpl getFirstChildElementEx(NodeImpl node)
node
- the parent node
null
if no such element existspublic static Element getFirstChildElementByTagNameNS(Node node, String namespaceURI, String localPart)
node
- the parent nodenamespaceURI
- the namespace URI of the qualified tag namelocalPart
- the local part of the qualified tag name
null
if no such element existspublic static ElementImpl getFirstChildElementByTagNameEx(NodeImpl node, ExpandedQName qName)
node
- the nodeqName
- the expanded QName of the element to find
null
if no such element existspublic static Element getFirstChildElementByTagNameWithAttrValueNS(Node node, String namespaceURI, String localPart, String attrNamespaceURI, String attrLocalPart, String attrValue)
node
- the parent nodenamespaceURI
- the namespace URI of the qualified tag namelocalPart
- the local part of the qualified tag nameattrNamespaceURI
- the namespace URI of the attribute's qualified nameattrLocalPart
- the local part of the attribute's qualified nameattrValue
- the attribute value
null
if no such element existspublic static ElementImpl getFirstChildElementByTagNameWithAttrValueEx(NodeImpl node, ExpandedQName elementName, ExpandedQName attrName, String attrValue)
node
- the parent nodeelementName
- the qualified element nameattrName
- the qualifed attribute nameattrValue
- the attribute value
null
if no such element existspublic static Element getFirstChildElementByTagNameWithAttrValueIgnoreCaseNS(Node node, String namespaceURI, String localPart, String attrNamespaceURI, String attrLocalPart, String attrValue)
node
- the parent nodenamespaceURI
- the namespace URI of the qualified tag namelocalPart
- the local part of the qualified tag nameattrNamespaceURI
- the namespace URI of the attribute's qualified nameattrLocalPart
- the local part of the attribute's qualified nameattrValue
- the attribute value
null
if no such element existspublic static ElementImpl getFirstChildElementByTagNameWithAttrValueIgnoreCaseEx(NodeImpl node, ExpandedQName elementName, ExpandedQName attrName, String attrValue)
node
- the nodeelementName
- the qualified element nameattrName
- the qualifed attribute nameattrValue
- the attribute value
null
if no such element existspublic static Element[] getChildElements(Node node)
node
- the parent node
0
length, but never null
public static ElementImpl[] getChildElementsEx(NodeImpl node)
node
- the parent node
0
length, but never null
public static Element[] getChildElementsByTagNameNS(Node node, String namespaceURI, String localPart)
node
- the parent nodenamespaceURI
- element name's namespace URIlocalPart
- the element name's local part
0
length, but never null
public static ElementImpl[] getChildElementsByTagNameEx(NodeImpl node, ExpandedQName qName)
node
- the parent nodeqName
- the element name
0
length, but never null
public static Element[] getChildElementsByTagNameWithAttrNS(Node node, String namespaceURI, String localPart, String attrNamespaceURI, String attrLocalPart)
node
- the parent nodenamespaceURI
- the namespace URI of the qualified tag namelocalPart
- the local part of the qualified tag nameattrNamespaceURI
- the namespace URI of the attribute's qualified nameattrLocalPart
- the local part of the attribute's qualified name
0
length, but never null
public static ElementImpl[] getChildElementsByTagNameWithAttrEx(NodeImpl node, ExpandedQName elementName, ExpandedQName attrName)
node
- the parent nodeelementName
- the QName of the elements to findattrName
- the QName of the non-empty attribute
0
length, but never null
public static Element[] getChildElementsByTagNameWithAttrValueNS(Node node, String namespaceURI, String localPart, String attrNamespaceURI, String attrLocalPart, String attrValue)
node
- the parent nodenamespaceURI
- the namespace URI of the qualified tag namelocalPart
- the local part of the qualified tag nameattrNamespaceURI
- the namespace URI of the attribute's qualified nameattrLocalPart
- the local part of the attribute's qualified nameattrValue
- the attribute value
0
length, but never null
public static ElementImpl[] getChildElementsByTagNameWithAttrValueEx(NodeImpl node, ExpandedQName elementName, ExpandedQName attrName, String attrValue)
node
- the parent nodeelementName
- the child elements' QNameattrName
- the attributes' QNameattrValue
- the attribute value
0
length, but never null
public static Element[] getChildElementsByTagNameWithAttrValueIgnoreCaseNS(Node node, String namespaceURI, String localPart, String attrNamespaceURI, String attrLocalPart, String attrValue)
node
- the parent nodenamespaceURI
- the namespace URI of the qualified tag namelocalPart
- the local part of the qualified tag nameattrNamespaceURI
- the namespace URI of the attribute's qualified nameattrLocalPart
- the local part of the attribute's qualified nameattrValue
- the attribute value
0
length, but never null
public static ElementImpl[] getChildElementsByTagNameWithAttrValueIgnoreCaseEx(NodeImpl node, ExpandedQName elementName, ExpandedQName attrName, String attrValue)
node
- the parent nodeelementName
- the child elements' QNameattrName
- the attributes' QNameattrValue
- the attribute value
0
length, but never null
public static NodeList getElementsByTagNameNS(Node node, String namespaceURI, String localPart)
node
- the parent nodenamespaceURI
- the namespace URI of the qualified tag namelocalPart
- the local part of the qualified tag name
NodeList
containing any matching elementspublic static NodeList getElementsByTagNameEx(NodeImpl node, ExpandedQName qName)
Element
s of a node with a particular tag name.
Wildcards may be used, either by passing ExpandedQName.WILDCARD_QNAME
,
or by constructing an ExpandedQName
instance using some combination of
NamespaceName.WILDCARD_NAMESPACE
and ExpandedQName.WILDCARD_LOCALPART
.
node
- the node whose descendants are to be foundqName
- the QName of the descendant Element
s to find
Element
spublic static Element[] getElementsByTagNameWithAttrNS(Node node, String namespaceURI, String localPart, String attrNamespaceURI, String attrLocalPart)
node
- the parent nodenamespaceURI
- the namespace URI of the qualified tag namelocalPart
- the local part of the qualified tag nameattrNamespaceURI
- the namespace URI of the attribute's qualified nameattrLocalPart
- the local part of the attribute's qualified name
0
length, but never null
public static ElementImpl[] getElementsByTagNameWithAttrEx(NodeImpl node, ExpandedQName elementName, ExpandedQName attrName)
node
- the parent nodeelementName
- the QName of the desired elementsattrName
- the QName of the attribute
0
length, but never null
public static Element[] getElementsByTagNameWithAttrValueNS(Node node, String namespaceURI, String localPart, String attrNamespaceURI, String attrLocalPart, String attrValue)
node
- the parent nodenamespaceURI
- the namespace URI of the qualified tag namelocalPart
- the local part of the qualified tag nameattrNamespaceURI
- the namespace URI of the attribute's qualified nameattrLocalPart
- the local part of the attribute's qualified nameattrValue
- the attribute value
0
length, but never null
public static ElementImpl[] getElementsByTagNameWithAttrValueEx(NodeImpl node, ExpandedQName elementName, ExpandedQName attrName, String attrValue)
node
- the parent nodeelementName
- the QName of the desired elementsattrName
- the QName of the attributeattrValue
- the attribute value
0
length, but never null
public static void removeChildElementsByTagNameNS(Node node, String namespaceURI, String localPart)
node
- the parent nodenamespaceURI
- the namespace URI of the qualified tag namelocalPart
- the local part of the qualified tag namepublic static void removeChildElementsByTagNameEx(NodeImpl node, ExpandedQName elementName)
node
- the parent nodeelementName
- the elements' QNamepublic static Element getFirstElementByTagNameNS(Node node, String namespaceURI, String localPart)
node
- the parent nodenamespaceURI
- the namespace URI of the qualified tag namelocalPart
- the local part of the qualified tag name
null
if no such element existspublic static ElementImpl getFirstElementByTagNameEx(NodeImpl node, ExpandedQName qName)
node
- the nodeqName
- the tag name to find
null
if no such element existspublic static Element getFirstElementByTagNameWithAttrValueNS(Node node, String namespaceURI, String localPart, String attrNamespaceURI, String attrLocalPart, String attrValue)
node
- the parent nodenamespaceURI
- the namespace URI of the qualified tag namelocalPart
- the local part of the qualified tag nameattrNamespaceURI
- the namespace URI of the attribute's qualified nameattrLocalPart
- the local part of the attribute's qualified nameattrValue
- the attribute value
0
length, but never null
public static ElementImpl getFirstElementByTagNameWithAttrValueEx(NodeImpl node, ExpandedQName elementName, ExpandedQName attrName, String attrValue)
node
- the parent nodeelementName
- the child elements' QNameattrName
- the attributes' QNameattrValue
- the attribute value
0
length, but never null
public static Node cloneSubtree(Document targetDoc, Node sourceRoot)
targetDoc
- target document for the cloned documentsourceRoot
- root of subtree to clone
null
if not cloneablepublic static void graftSubtree(Node parent, Node sourceRoot)
parent
- target parentsourceRoot
- root of subtree to clonepublic static Document cloneDocument(Document doc)
doc
- document to clone
public static Element renameElementNS(Element element, String namespaceURI, String qName)
element
- element to be renamednamespaceURI
- the namespace URI of the new qualified tag nameqName
- "[prefix:]local part" of the new qualified tag name
public static ElementImpl renameElementEx(ElementImpl element, ExpandedQName newName)
element
- element to be renamednewName
- the new QName for the element
public static void removeAllChildren(Node node)
node
- the parent nodepublic static Element getFirstAncestorElementByTagNameNS(Node node, String namespaceURI, String localPart)
node
- the starting nodenamespaceURI
- the namespace URI of the ancestor's qualified tag namelocalPart
- the local part of the ancestor's qualified tag name
null
if no such element existspublic static ElementImpl getFirstAncestorElementByTagNameEx(NodeImpl node, ExpandedQName elementName)
node
- the node from which to startelementName
- the ancestor element's QName
null
if no such element existspublic static Element getFirstAncestorElementByTagNameWithAttrNS(Node node, String namespaceURI, String localPart, String attrNamespaceURI, String attrLocalPart)
node
- the starting nodenamespaceURI
- the namespace URI of the ancestor's qualified tag namelocalPart
- the local part of the ancestor's qualified tag nameattrNamespaceURI
- the namespace URI of the attribute's qualified nameattrLocalPart
- the local part of the attribute's qualified name
null
if no such element existspublic static ElementImpl getFirstAncestorElementByTagNameWithAttrEx(NodeImpl node, ExpandedQName elementName, ExpandedQName attrName)
node
- the node from which to startelementName
- the ancestor element's QNameattrName
- the attribute name
null
if no such element existspublic static Node[] nodeListToNodeArray(NodeList list)
NodeList
.
list
- the NodeList
list
public static Element[] elementArrayListToElementArray(ArrayList arrayList)
Element
s from an ArrayList
containing only Element
s.
arrayList
- the list
arrayList
public static ElementImpl[] elementImplArrayListToElementImplArray(ArrayList arrayList)
ElementImpl
s from an ArrayList
containing
only ElementImpl
s.
arrayList
- the list
ElementImpl
s containing the same members as the parameterpublic static String getAssociationValue(Element element)
element
- the element
null
)public static String getAssociationValueEx(ElementImpl element)
element
- the element
null
)public static String getAssociationState(Element element)
element
- the element
null
)public static String getAssociationStateEx(ElementImpl element)
element
- the element
null
)public static Element getFirstValue(Node node, String attrName)
node
- the node at which to startattrName
- the directory attribute name
null
if no such element existspublic static ElementImpl getFirstValueEx(NodeImpl node, String attrName)
node
- the node at which to startattrName
- the directory attribute name
null
if no such element existspublic static boolean copyAttributeNS(Element src, String attrNamespaceURI, String attrLocalName, Element dest)
src
- source elementattrNamespaceURI
- the namespace URI of the attribute's qualified nameattrLocalPart
- the local part of the attribute's qualified namedest
- destination element
true
if an attribute was copiedpublic static boolean copyAttributeEx(ElementImpl src, ExpandedQName attrName, ElementImpl dest)
src
- source element containing the attribute to copyattrName
- QName of the attributedest
- destination element for the attribute
true
if an attribute was copiedpublic static boolean copyAttributeNS(Element src, String srcAttrNamespaceURI, String srcAttrLocalPart, Element dest, String destAttrNamespaceURI, String destAttrQName)
src
- source elementsrcAttrNamespaceURI
- the namespace URI of the source attribute's qualified namesrcAttrLocalPart
- the local part of the source attribute's qualified namedest
- destination elementdestAttrNamespaceURI
- the namespace URI of the destination attribute's qualified namedestAttrQName
- "[prefix:]local part" of the destination attribute's qualified name
true
if an attribute was copiedpublic static boolean copyAttributeEx(ElementImpl src, ExpandedQName srcAttrName, ElementImpl dest, ExpandedQName destAttrName)
src
- source element containing the attribute to copysrcAttrName
- QName of the source attributedest
- destination element for the attributedestAttrName
- QName of the destination attribute
true
if there was an attribute to copypublic static void ensureDOMImpl(XmlDocument src)
src
- documentpublic static Date getTimestamp(Element element)
Date
instance from the timestamp attribute for an element
element
- the element containing the "timestamp" attribute
null
otherwisepublic static Date getTimestampEx(ElementImpl element)
Date
instance from the timestamp attribute for an element
element
- the element containing the "timestamp" attribute
null
otherwisepublic static int getTimestampEventCount(Element element)
element
- an element containing the "timestamp" attribute
public static int getTimestampEventCountEx(ElementImpl element)
element
- an element containing the "timestamp" attribute
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |