org.apache.xml.security.signature
Class ObjectContainer

java.lang.Object
  extended by org.apache.xml.security.utils.ElementProxy
      extended by org.apache.xml.security.utils.SignatureElementProxy
          extended by org.apache.xml.security.signature.ObjectContainer

public class ObjectContainer
extends SignatureElementProxy

Handles <ds:Object> elements Object Element supply facility which can contain any kind data

Author:
Christian Geuer-Pollmann $todo$ if we remove childen, the boolean values are not updated

Field Summary
 
Fields inherited from class org.apache.xml.security.utils.ElementProxy
baseURI, log
 
Constructor Summary
ObjectContainer(Document doc)
          Constructs ObjectContainer
ObjectContainer(Element element, String baseURI)
          Constructs ObjectContainer from Element
 
Method Summary
 Node appendChild(Node node)
          Adds child Node
 String getBaseLocalName()
          Returns the localname of the Elements of the sub-class.
 String getEncoding()
          Returns the Encoding attribute
 String getId()
          Returns the Id attribute
 String getMimeType()
          Returns the MimeType attribute
 void setEncoding(String Encoding)
          Sets the Encoding attribute
 void setId(String Id)
          Sets the Id attribute
 void setMimeType(String MimeType)
          Sets the MimeType attribute
 
Methods inherited from class org.apache.xml.security.utils.SignatureElementProxy
getBaseNamespace
 
Methods inherited from class org.apache.xml.security.utils.ElementProxy
addBase64Element, addBase64Text, addBigIntegerElement, addReturnToSelf, addText, addTextElement, appendOther, appendSelf, appendSelf, createElementForFamily, createElementForFamilyLocal, createText, getBaseURI, getBigIntegerFromChildElement, getBytesFromTextChild, getDefaultPrefix, getDocument, getElement, getElementPlusReturns, getFirstChild, getLocalAttribute, getTextFromChildElement, getTextFromTextChild, length, registerDefaultPrefixes, setDefaultPrefix, setDocument, setElement, setElement, setLocalAttribute, setLocalIdAttribute, setXPathNamespaceContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectContainer

public ObjectContainer(Document doc)
Constructs ObjectContainer

Parameters:
doc - the Document in which Object element is placed

ObjectContainer

public ObjectContainer(Element element,
                       String baseURI)
                throws XMLSecurityException
Constructs ObjectContainer from Element

Parameters:
element - is Object element
baseURI - the URI of the resource where the XML instance was stored
Throws:
XMLSecurityException
Method Detail

setId

public void setId(String Id)
Sets the Id attribute

Parameters:
Id - Id attribute

getId

public String getId()
Returns the Id attribute

Returns:
the Id attribute

setMimeType

public void setMimeType(String MimeType)
Sets the MimeType attribute

Parameters:
MimeType - the MimeType attribute

getMimeType

public String getMimeType()
Returns the MimeType attribute

Returns:
the MimeType attribute

setEncoding

public void setEncoding(String Encoding)
Sets the Encoding attribute

Parameters:
Encoding - the Encoding attribute

getEncoding

public String getEncoding()
Returns the Encoding attribute

Returns:
the Encoding attribute

appendChild

public Node appendChild(Node node)
Adds child Node

Parameters:
node - child Node
Returns:
the new node in the tree.

getBaseLocalName

public String getBaseLocalName()
Description copied from class: ElementProxy
Returns the localname of the Elements of the sub-class.

Specified by:
getBaseLocalName in class ElementProxy
Returns:
the localname of the Elements of the sub-class.


Copyright © 2000–2014 The Apache Software Foundation. All rights reserved.