- java.lang.Object
-
- org.apache.xml.security.utils.ElementProxy
-
- org.apache.xml.security.utils.SignatureElementProxy
-
- org.apache.xml.security.signature.ObjectContainer
-
public class ObjectContainer extends SignatureElementProxy
Handles<ds:Object>elementsObjectElementsupply facility which can contain any kind data $todo$ if we remove children, the boolean values are not updated
-
-
Field Summary
-
Fields inherited from class org.apache.xml.security.utils.ElementProxy
baseURI, LOG
-
-
Constructor Summary
Constructors Constructor Description ObjectContainer(Document doc)ConstructsObjectContainerObjectContainer(Element element, String baseURI)ConstructsObjectContainerfromElement
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeappendChild(Node node)Adds child NodeStringgetBaseLocalName()Returns the localname of the Elements of the sub-class.StringgetEncoding()Returns theEncodingattributeStringgetId()Returns theIdattributeStringgetMimeType()Returns theMimeTypeattributevoidsetEncoding(String Encoding)Sets theEncodingattributevoidsetId(String Id)Sets theIdattributevoidsetMimeType(String MimeType)Sets theMimeTypeattribute-
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
-
-
-
-
Constructor Detail
-
ObjectContainer
public ObjectContainer(Document doc)
ConstructsObjectContainer- Parameters:
doc- theDocumentin whichObjectelement is placed
-
ObjectContainer
public ObjectContainer(Element element, String baseURI) throws XMLSecurityException
ConstructsObjectContainerfromElement- Parameters:
element- isObjectelementbaseURI- the URI of the resource where the XML instance was stored- Throws:
XMLSecurityException
-
-
Method Detail
-
setId
public void setId(String Id)
Sets theIdattribute- Parameters:
Id-Idattribute
-
getId
public String getId()
Returns theIdattribute- Returns:
- the
Idattribute
-
setMimeType
public void setMimeType(String MimeType)
Sets theMimeTypeattribute- Parameters:
MimeType- theMimeTypeattribute
-
getMimeType
public String getMimeType()
Returns theMimeTypeattribute- Returns:
- the
MimeTypeattribute
-
setEncoding
public void setEncoding(String Encoding)
Sets theEncodingattribute- Parameters:
Encoding- theEncodingattribute
-
getEncoding
public String getEncoding()
Returns theEncodingattribute- Returns:
- the
Encodingattribute
-
appendChild
public Node appendChild(Node node)
Adds child Node- Parameters:
node- child Node- Returns:
- the new node in the tree.
-
getBaseLocalName
public String getBaseLocalName()
Returns the localname of the Elements of the sub-class.- Specified by:
getBaseLocalNamein classElementProxy- Returns:
- the localname of the Elements of the sub-class.
-
-