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
- Author:
- Abhijit Das
-
Field Summary
Fields inherited from class com.sun.xml.security.core.dsig.ObjectType
content, encoding, id, mimeType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets 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, setMimeTypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.xml.crypto.dsig.XMLObject
getEncoding, getId, getMimeType
-
Constructor Details
-
XMLObject
public XMLObject()Creates a new instance of XMLObject
-
-
Method Details
-
isFeatureSupported
- Specified by:
isFeatureSupportedin interfaceXMLStructure
-
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
-