org.apache.jcp.xml.dsig.internal.dom
Class BaseStructure
java.lang.Object
org.apache.jcp.xml.dsig.internal.dom.BaseStructure
- All Implemented Interfaces:
- XMLStructure
- Direct Known Subclasses:
- DOMDigestMethod, DOMHMACSignatureMethod, DOMKeyInfo, DOMKeyName, DOMKeyValue, DOMManifest, DOMPGPData, DOMSignatureMethod, DOMSignatureProperties, DOMSignatureProperty, DOMStructure, DOMTransform, DOMX509Data, DOMX509IssuerSerial, DOMXMLObject
public abstract class BaseStructure
- extends Object
- implements XMLStructure
Method Summary |
boolean |
isFeatureSupported(String feature)
Indicates whether a specified feature is supported. |
static String |
textOfNode(Node node)
Since the behavior of Model#getStringValue(Object) returns the value
of all descendant text nodes of an element, whereas we just want the immediate children. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseStructure
public BaseStructure()
textOfNode
public static String textOfNode(Node node)
- Since the behavior of
Model#getStringValue(Object)
returns the value
of all descendant text nodes of an element, whereas we just want the immediate children.
- Type Parameters:
N
- - Parameters:
model
- node
-
- Returns:
isFeatureSupported
public final boolean isFeatureSupported(String feature)
- Description copied from interface:
XMLStructure
- Indicates whether a specified feature is supported.
- Specified by:
isFeatureSupported
in interface XMLStructure
- Parameters:
feature
- the feature name (as an absolute URI)
- Returns:
true
if the specified feature is supported,
false
otherwise
Copyright © 2000–2013 The Apache Software Foundation. All rights reserved.