com.ibm.xml.crypto.dsig.dom
Class ObjectImpl
java.lang.Object
com.ibm.xml.crypto.dsig.dom.XMLStructureImpl
com.ibm.xml.crypto.dsig.dom.ObjectImpl
- All Implemented Interfaces:
- XMLObject, XMLStructure
class ObjectImpl
- extends XMLStructureImpl
- implements XMLObject
|
Field Summary |
(package private) java.util.List |
content
|
| Fields inherited from interface javax.xml.crypto.dsig.XMLObject |
TYPE |
|
Constructor Summary |
ObjectImpl(AlgorithmFactory f,
java.util.List content,
java.lang.String id,
java.lang.String mime,
java.lang.String enc)
|
|
Method Summary |
java.util.List |
getContent()
Returns an unmodifiable
list of XMLStructures contained in this XMLObject,
which represent elements from any namespace. |
java.lang.String |
getEncoding()
Returns the encoding URI of this XMLObject. |
java.lang.String |
getId()
Returns the Id of this XMLObject. |
java.lang.String |
getMimeType()
Returns the mime type of this XMLObject. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
content
java.util.List content
ObjectImpl
ObjectImpl(AlgorithmFactory f,
java.util.List content,
java.lang.String id,
java.lang.String mime,
java.lang.String enc)
getEncoding
public java.lang.String getEncoding()
- Description copied from interface:
XMLObject
- Returns the encoding URI of this
XMLObject. The encoding
URI identifies the method by which the object is encoded.
- Specified by:
getEncoding in interface XMLObject
- Returns:
- the encoding URI (or
null if not specified)
getMimeType
public java.lang.String getMimeType()
- Description copied from interface:
XMLObject
- Returns the mime type of this
XMLObject. The
mime type is an optional attribute which describes the data within this
XMLObject (independent of its encoding).
- Specified by:
getMimeType in interface XMLObject
- Returns:
- the mime type (or
null if not specified)
getId
public java.lang.String getId()
- Description copied from interface:
XMLObject
- Returns the Id of this
XMLObject.
- Specified by:
getId in interface XMLObject
- Returns:
- the Id (or
null if not specified)
getContent
public java.util.List getContent()
- Description copied from interface:
XMLObject
- Returns an
unmodifiable
list of XMLStructures contained in this XMLObject,
which represent elements from any namespace.
If there is a public subclass representing the type of
XMLStructure, it is returned as an instance of that class
(ex: a SignatureProperties element would be returned
as an instance of SignatureProperties).
- Specified by:
getContent in interface XMLObject
- Returns:
- an unmodifiable list of
XMLStructures (may be empty
but never null)
Portions Copyright 2003, 2012 IBM Corporation.
Portions Copyright 2003, 2012 Oracle and/or its affiliates.