|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.myfaces.trinidadinternal.share.xml.BaseNodeParser
org.apache.myfaces.trinidadinternal.image.xml.parse.TextParser
public class TextParser
NodeParser for text and translatedText elements
Constructor Summary | |
---|---|
TextParser()
|
Method Summary | |
---|---|
void |
addText(ParseContext context,
char[] text,
int start,
int length)
Implementation of NodeParser.addText(). |
void |
addWhitespace(ParseContext context,
char[] text,
int start,
int length)
Implemenation of NodeParser.addWhitespace(). |
java.lang.Object |
endElement(ParseContext context,
java.lang.String namespaceURI,
java.lang.String localName)
Implementation of NodeParser.endElement() |
NodeParser |
startChildElement(ParseContext context,
java.lang.String namespaceURI,
java.lang.String localName,
org.xml.sax.Attributes attrs)
Implementation of NodeParser.startChildElement() |
void |
startElement(ParseContext context,
java.lang.String namespaceURI,
java.lang.String localName,
org.xml.sax.Attributes attrs)
Implementation of NodeParser.startElement() |
Methods inherited from class org.apache.myfaces.trinidadinternal.share.xml.BaseNodeParser |
---|
addCompletedChild, endChildElement, getIgnoreParser, getRequiredAttribute, logError, logUnexpectedAttribute, logUnexpectedElement |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TextParser()
Method Detail |
---|
public void startElement(ParseContext context, java.lang.String namespaceURI, java.lang.String localName, org.xml.sax.Attributes attrs) throws org.xml.sax.SAXParseException
startElement
in interface NodeParser
startElement
in class BaseNodeParser
context
- the parsing contextnamespaceURI
- the namespace of the elementlocalName
- the local name of the elementattrs
- the attributes attached to the element
org.xml.sax.SAXParseException
public java.lang.Object endElement(ParseContext context, java.lang.String namespaceURI, java.lang.String localName)
endElement
in interface NodeParser
endElement
in class BaseNodeParser
context
- the parsing contextnamespaceURI
- the namespace of the elementlocalName
- the local name of the element
public NodeParser startChildElement(ParseContext context, java.lang.String namespaceURI, java.lang.String localName, org.xml.sax.Attributes attrs)
startChildElement
in interface NodeParser
startChildElement
in class BaseNodeParser
context
- the parsing contextnamespaceURI
- the namespace of the child elementlocalName
- the local name of the child elementattrs
- the attributes attached to the element
NodeParser
NodeParser.endChildElement(org.apache.myfaces.trinidadinternal.share.xml.ParseContext, java.lang.String, java.lang.String)
,
NodeParser.addCompletedChild(org.apache.myfaces.trinidadinternal.share.xml.ParseContext, java.lang.String, java.lang.String, java.lang.Object)
public void addText(ParseContext context, char[] text, int start, int length) throws org.xml.sax.SAXParseException
addText
in interface NodeParser
addText
in class BaseNodeParser
context
- the parsing contexttext
- an array of charactersstart
- the start position in the arraylength
- the number of characters to read from the array
org.xml.sax.SAXParseException
public void addWhitespace(ParseContext context, char[] text, int start, int length) throws org.xml.sax.SAXParseException
addWhitespace
in interface NodeParser
addWhitespace
in class BaseNodeParser
context
- the parsing contexttext
- an array of charactersstart
- the start position in the arraylength
- the number of characters to read from the array
org.xml.sax.SAXParseException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |