Class ObjectContainer
java.lang.Object
org.apache.xml.security.utils.ElementProxy
org.apache.xml.security.utils.SignatureElementProxy
org.apache.xml.security.signature.ObjectContainer
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 ElementProxy
_baseURI, _constructionElement, _doc, _state, MODE_CREATE, MODE_DECRYPT, MODE_ENCRYPT, MODE_PROCESS, MODE_SIGN, MODE_UNKNOWN, MODE_VERIFY -
Constructor Summary
ConstructorsConstructorDescriptionObjectContainer(Document doc) ConstructsObjectContainerObjectContainer(Element element, String BaseURI) ConstructsObjectContainerfromElement -
Method Summary
Modifier and TypeMethodDescriptionappendChild(Node node) Adds childe NodeReturns the localname of the Elements of the sub-class.Returns theEncodingattributegetId()Returns theIdattributeReturns theMimeTypeattributevoidsetEncoding(String Encoding) Sets theEncodingattributevoidSets theIdattributevoidsetMimeType(String MimeType) Sets theMimeTypeattributeMethods inherited from class SignatureElementProxy
getBaseNamespaceMethods inherited from class ElementProxy
addBase64Element, addBase64Text, addBigIntegerElement, addText, addTextElement, createElementForFamily, getBaseURI, getBigIntegerFromChildElement, getBytesFromChildElement, getBytesFromTextChild, getDefaultPrefix, getDocument, getElement, getElementPlusReturns, getTextFromChildElement, getTextFromTextChild, guaranteeThatElementInCorrectSpace, length, setDefaultPrefix, setElement, setXPathNamespaceContext
-
Constructor Details
-
ObjectContainer
ConstructsObjectContainer- Parameters:
doc- theDocumentin whichObjectelement is placed
-
ObjectContainer
ConstructsObjectContainerfromElement- Parameters:
element- isObjectelementBaseURI- the URI of the resource where the XML instance was stored- Throws:
XMLSecurityException
-
-
Method Details
-
setId
-
getId
-
setMimeType
Sets theMimeTypeattribute- Parameters:
MimeType- theMimeTypeattribute
-
getMimeType
-
setEncoding
Sets theEncodingattribute- Parameters:
Encoding- theEncodingattribute
-
getEncoding
-
appendChild
-
getBaseLocalName
Description copied from class:ElementProxyReturns the localname of the Elements of the sub-class.- Specified by:
getBaseLocalNamein classElementProxy- Returns:
- the localname of the Elements of the sub-class.
-