public class SaxVinciFrameBuilder extends DefaultHandler implements ContentHandler
| Constructor and Description |
|---|
SaxVinciFrameBuilder() |
| Modifier and Type | Method and Description |
|---|---|
void |
characters(char[] ch,
int start,
int length) |
void |
endElement(String namespaceURI,
String localName,
String qualifiedName) |
protected String |
getLeafContent(String aFrameName,
Attributes aAttributes,
StringBuffer aContentBuf)
Gets the content to be included in a FrameLeaf.
|
protected String |
getName(String s1,
String s2)
If the first String parameter is nonempty, return it, else return the second string parameter.
|
void |
setParentFrame(org.apache.vinci.transport.document.AFrame aParentFrame)
Sets the parent frame, to which frames built by the object will be added.
|
void |
startDocument() |
void |
startElement(String namespaceURI,
String localName,
String qualifiedName,
Attributes attributes)
Called for each start tag encountered.
|
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startPrefixMapping, unparsedEntityDecl, warningclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitendDocument, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startPrefixMappingpublic void setParentFrame(org.apache.vinci.transport.document.AFrame aParentFrame)
aParentFrame - the parent framepublic void startDocument()
throws SAXException
startDocument in interface ContentHandlerstartDocument in class DefaultHandlerSAXExceptionContentHandler.startDocument()public void startElement(String namespaceURI, String localName, String qualifiedName, Attributes attributes) throws SAXException
startElement in interface ContentHandlerstartElement in class DefaultHandlernamespaceURI - Required if the namespaces property is true.attributes - The specified or defaulted attributes.localName - The local name (without prefix), or the empty string if Namespace processing is not
being performed.qualifiedName - The qualified name (with prefix), or the empty string if qualified names are not
available.SAXExceptionpublic void characters(char[] ch,
int start,
int length)
characters in interface ContentHandlercharacters in class DefaultHandlerContentHandler.characters(char[],int,int)public void endElement(String namespaceURI, String localName, String qualifiedName)
endElement in interface ContentHandlerendElement in class DefaultHandlerContentHandler.endElement(String,String,String)protected String getLeafContent(String aFrameName, Attributes aAttributes, StringBuffer aContentBuf)
aFrameName - name of the FrameLeafaAttributes - attributes of FrameLeafaContentBuf - StringBuffer containing the character data obtained from the SAX parserCopyright © 2006–2018 The Apache Software Foundation. All rights reserved.