java.lang.Object
com.sun.xml.wss.impl.dsig.DataWrapper
Wrapper class for JSR 105 Data objects.Caches SignatureTarget
object and data resolved using this signature target.Reduces
the burden of instanceof checks.
- Author:
- K.Venugopal@sun.com
-
Method Summary
Modifier and TypeMethodDescriptiongetData()null if no target has been set.intgetType()booleanbooleanbooleanvoidsetTarget(SignatureTarget target)
-
Method Details
-
getData
- Returns:
- Data object.
-
getType
public int getType()- Returns:
- type of data object wrapped.
-
isAttachmentData
public boolean isAttachmentData()- Returns:
- if Data is AttachmentData
-
isNodesetData
public boolean isNodesetData()- Returns:
- true if Data is NodeSetData.
-
isOctectData
public boolean isOctectData()- Returns:
- true if Data is OctetStreamData.
-
getTarget
null if no target has been set. -
setTarget
-