Class XMLObject
- java.lang.Object
-
- com.sun.xml.security.core.dsig.ObjectType
-
- com.sun.xml.ws.security.opt.crypto.dsig.XMLObject
-
- All Implemented Interfaces:
XMLObject,XMLStructure
public class XMLObject extends ObjectType implements XMLObject
- Author:
- Abhijit Das
-
-
Constructor Summary
Constructors Constructor Description XMLObject()Creates a new instance of XMLObject
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListgetContent()Gets the value of the content property.booleanisFeatureSupported(String string)voidsetContent(List content)-
Methods inherited from class com.sun.xml.security.core.dsig.ObjectType
getEncoding, getId, getMimeType, setEncoding, setId, setMimeType
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface javax.xml.crypto.dsig.XMLObject
getEncoding, getId, getMimeType
-
-
-
-
Method Detail
-
isFeatureSupported
public boolean isFeatureSupported(String string)
- Specified by:
isFeatureSupportedin interfaceXMLStructure
-
getContent
public List getContent()
Description copied from class:ObjectTypeGets the value of the content property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the content property.For example, to add a new item, do as follows:
getContent().add(newItem);Objects of the following type(s) are allowed in the list
ObjectString- Specified by:
getContentin interfaceXMLObject- Overrides:
getContentin classObjectType
-
setContent
public void setContent(List content)
-
-