| java.lang.Object org.openlaszlo.remote.swf.soap.encoding.SOAPDataEncoder
Method Summary | |
public void | _startElement(String localName) A lower level call than startElement(); attributes must be supplied by
individual calls to addAttribute(). | public void | addAttribute(String attrName, String attrVal) A low level call to add an attribute, must be preceded by call to
_startElement() for a given element. | public void | buildFromElements(Vector v, SOAPHeader h) Build from a vector of SOAPElement items. | public SOAPDataEncoder | buildFromException(Exception e) | public SOAPDataEncoder | buildFromFault(AxisFault fault) | public void | buildFromProgram(Program p, SOAPHeader h) Build from a vector of SOAPElement items. | public void | characters(char[] ch, int start, int length) Receive notification of character data. | public void | characters(String text) Receive notification of string data. | public void | end() | public void | endDocument() Receive notification of the end of a document. | public void | endElement(String uri, String localName, String qName) Receive notification of the end of an element. | public void | endElement() Receive notification of the end of an element. | public void | endPrefixMapping(String prefix) End the scope of a prefix-URI mapping. | public InputStream | getInputStream() Get the compiled data swf program byte codes. | public long | getSize() Return the size of the output object; only valid after endDocument
SOAPDataEncoder.endDocument endDocument() has been called. | public void | ignorableWhitespace(char[] ch, int start, int length) Receive notification of ignorable whitespace in element content. | public void | processingInstruction(String target, String data) Receive notification of a processing instruction. | public void | setDocumentLocator(Locator locator) Receive an object for locating the origin of SAX document events. | public void | skippedEntity(String name) Receive notification of a skipped entity. | public void | start() | public void | startDocument() Receive notification of the beginning of a document. | public void | startElement(String uri, String localName, String qName, Attributes atts) Receive notification of the beginning of an element. | public void | startElement(String localName, Attributes atts) Receive notification of the beginning of an element.
Parameters: localName - the local name (without prefix), or the empty string ifNamespace processing is not being performed. Parameters: atts - the attributes attached to the element. | public void | startPrefixMapping(String prefix, String uri) Begin the scope of a prefix-URI Namespace mapping. |
isProgram | boolean isProgram(Code) | | Workaround variable for bug 4680.
|
SOAPDataEncoder | public SOAPDataEncoder(int swfversion)(Code) | | Constructs an empty SOAPDataEncoder.
|
SOAPDataEncoder | public SOAPDataEncoder(int swfversion, int initsize)(Code) | | Constructs a SOAPDataEncoder with a buffer allocation size hint.
Parameters: initsize - hint to allocate buffer size large enough to hold output. |
SOAPDataEncoder | public SOAPDataEncoder(int swfversion, Vector v, SOAPHeader h)(Code) | | |
SOAPDataEncoder | public SOAPDataEncoder(int swfversion, Program p, SOAPHeader h)(Code) | | |
_startElement | public void _startElement(String localName)(Code) | | A lower level call than startElement(); attributes must be supplied by
individual calls to addAttribute(). This method is unimplemented.
Parameters: localName - the element name. |
addAttribute | public void addAttribute(String attrName, String attrVal)(Code) | | A low level call to add an attribute, must be preceded by call to
_startElement() for a given element. This method is unimplemented.
|
buildFromElements | public void buildFromElements(Vector v, SOAPHeader h)(Code) | | Build from a vector of SOAPElement items.
Parameters: v - vector of SOAPElement items. |
buildFromProgram | public void buildFromProgram(Program p, SOAPHeader h)(Code) | | Build from a vector of SOAPElement items.
Parameters: v - vector of SOAPElement items. |
characters | public void characters(char[] ch, int start, int length)(Code) | | Receive notification of character data.
Parameters: ch - the characters from the XML document. Parameters: start - the start position in the array. Parameters: length - the number of characters to read from the array. See Also: SOAPDataEncoder.characters(String) See Also: characters(String) |
endElement | public void endElement(String uri, String localName, String qName)(Code) | | Receive notification of the end of an element. This method is equivalent
to calling
SOAPDataEncoder.endElement() endElement() -- the input parameters are
ignored.
Parameters: uri - the Namespace URI, or the empty string if the element has noNamespace URI or if Namespace processing is not being performed. Parameters: localName - the local name (without prefix), or the empty string ifNamespace processing is not being performed. Parameters: qName - the qualified XML 1.0 name (with prefix), or the emptystring if qualified names are not available. See Also: SOAPDataEncoder.endElement() See Also: endElement() |
endPrefixMapping | public void endPrefixMapping(String prefix)(Code) | | End the scope of a prefix-URI mapping. This method is unimplemented.
Parameters: prefix - the prefix that was being mapped. |
ignorableWhitespace | public void ignorableWhitespace(char[] ch, int start, int length)(Code) | | Receive notification of ignorable whitespace in element content. This
method is unimplemented.
Parameters: ch - the characters from the XML document. Parameters: start - the start position in the array. Parameters: length - the number of characters to read from the array. |
processingInstruction | public void processingInstruction(String target, String data)(Code) | | Receive notification of a processing instruction. This method is
unimplemented.
Parameters: target - the processing instruction target. Parameters: data - the processing instruction data, or null if none wassupplied. The data does not include any whitespace separating it from thetarget. |
setDocumentLocator | public void setDocumentLocator(Locator locator)(Code) | | Receive an object for locating the origin of SAX document events. This
method is unimplemented.
Parameters: locator - an object that can return the location of any SAX documentevent. |
skippedEntity | public void skippedEntity(String name)(Code) | | Receive notification of a skipped entity. This method is unimplemented.
Parameters: name - the name of the skipped entity. If it is a parameter entity,the name will begin with '%', and if it is the external DTD subset, itwill be the string "[dtd]". |
start | public void start()(Code) | | |
startElement | public void startElement(String uri, String localName, String qName, Attributes atts)(Code) | | Receive notification of the beginning of an element. This method is
equivalent to calling
SOAPDataEncoder.startElement(String,Attributes)startElement(String, Attributes) -- the uri and qName parameters are
ignored.
Parameters: uri - the Namespace URI, or the empty string if the element has noNamespace URI or if Namespace processing is not being performed. Parameters: localName - the local name (without prefix), or the empty string ifNamespace processing is not being performed. Parameters: qName - the qualified name (with prefix), or the empty string ifqualified names are not available. Parameters: atts - the attributes attached to the element. If there are noattributes, it shall be an empty Attributes object. See Also: SOAPDataEncoder.startElement(String,Attributes) See Also: startElement(String, Attributes) |
startElement | public void startElement(String localName, Attributes atts)(Code) | | Receive notification of the beginning of an element.
Parameters: localName - the local name (without prefix), or the empty string ifNamespace processing is not being performed. Parameters: atts - the attributes attached to the element. If there are noattributes, it shall be an empty Attributes object. See Also: SOAPDataEncoder.startElement(String,String,String,Attributes) See Also: startElement(String, String, String, Attributes) |
startPrefixMapping | public void startPrefixMapping(String prefix, String uri)(Code) | | Begin the scope of a prefix-URI Namespace mapping. This method is
unimplemented.
Parameters: prefix - the Namespace prefix being declared. Parameters: uri - the Namespace URI the prefix is mapped to. |
|
|