| java.lang.Object org.xml.sax.HandlerBase org.webdocwf.util.loader.LoadVariable
LoadVariable | public class LoadVariable extends HandlerBase (Code) | | LoadVariable.java
This class parses a document (OutputStream) and writes the documents
contents back to standard output. This class changes variables defined in variable
tags.
|
Constructor Summary | |
public | LoadVariable(OutputStream out, Loader l) Construct object LoadVariable with associated outputStream and
object class Loader. |
LoadVariable | public LoadVariable(OutputStream out, Loader l)(Code) | | Construct object LoadVariable with associated outputStream and
object class Loader. Class uses default "UTF-8" encoding.
Parameters: out - - OutputStream where will be written final XML. Parameters: l - - object of Loader class. Sets values of variable tags attributesand sets POutpuStream witch will be parsed. |
characters | public void characters(char ch, int start, int length) throws SAXException(Code) | | Characters.
Parameters: ch - is character array Parameters: start - is int Parameters: length - is length throws: SAXException - |
endDocument | public void endDocument()(Code) | | End document.
|
endElement | public void endElement(String name)(Code) | | End element.
Parameters: name - is name of the tag |
ignorableWhitespace | public void ignorableWhitespace(char ch, int start, int length)(Code) | | Ignorable whitespace.
Parameters: ch - is character array Parameters: start - is int Parameters: length - is length throws: SAXException - |
main | public static void main(String argv)(Code) | | Main program entry point.
Parameters: argv - is input parameters |
parseURI | public void parseURI()(Code) | | Method parseUri parses a file "uri" and writes the file
contents back to standard output including contents of 'include' files .
|
processingInstruction | public void processingInstruction(String target, String data)(Code) | | Processing instruction.
Parameters: target - is target Parameters: data - is target data |
startDocument | public void startDocument()(Code) | | Start document.
|
startElement | public void startElement(String name, AttributeList atts)(Code) | | Start element.
Parameters: name - is the name of the tag Parameters: atts - is attributes if tag |
Methods inherited from org.xml.sax.HandlerBase | public void characters(char ch, int start, int length) throws SAXException(Code)(Java Doc) public void endDocument() throws SAXException(Code)(Java Doc) public void endElement(String name) throws SAXException(Code)(Java Doc) public void error(SAXParseException e) throws SAXException(Code)(Java Doc) public void fatalError(SAXParseException e) throws SAXException(Code)(Java Doc) public void ignorableWhitespace(char ch, int start, int length) throws SAXException(Code)(Java Doc) public void notationDecl(String name, String publicId, String systemId)(Code)(Java Doc) public void processingInstruction(String target, String data) throws SAXException(Code)(Java Doc) public InputSource resolveEntity(String publicId, String systemId) throws SAXException(Code)(Java Doc) public void setDocumentLocator(Locator locator)(Code)(Java Doc) public void startDocument() throws SAXException(Code)(Java Doc) public void startElement(String name, AttributeList attributes) throws SAXException(Code)(Java Doc) public void unparsedEntityDecl(String name, String publicId, String systemId, String notationName)(Code)(Java Doc) public void warning(SAXParseException e) throws SAXException(Code)(Java Doc)
|
|
|