org.util.xml.parse
Class ElementPartParser

java.lang.Object
  extended by org.util.xml.parse.ParseElement
      extended by org.util.xml.parse.ElementPartParser

public class ElementPartParser
extends ParseElement

Author:
masaru

Field Summary
protected  AttributeParser attribute_parser_
           
protected  CommentInnerTagElementParser comment_inner_tag_element_parser_
           
protected  java.lang.String endtag_name_
           
protected  java.lang.StringBuffer error_text_
           
protected  boolean is_error_
           
protected  boolean is_novalue_occuered_
           
protected  boolean is_start_tag_
           
protected  NameParser name_parser_
           
protected  ParserPolicy policy_
           
protected  SpaceParser space_parser_
           
protected  TagElement tag_element_
           
protected  TextElement text_element_
           
protected  TextElementParser text_element_parser_
           
 
Constructor Summary
ElementPartParser()
           
ElementPartParser(ParserPolicy policy)
           
 
Method Summary
 int escape(ElementParser parser, java.lang.String message)
           
 java.lang.String getEndTagName()
           
 TagElement getTagElement()
           
 TextElement getTextElement()
           
 boolean isStartTag()
           
 boolean isTagElement()
           
 boolean isTextElement()
           
 boolean match(char c)
           
 int parse(int c, ElementParser parser)
           
 
Methods inherited from class org.util.xml.parse.ParseElement
getDescription, getReturnValue, isSpace, listDependentParser
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name_parser_

protected NameParser name_parser_

space_parser_

protected SpaceParser space_parser_

attribute_parser_

protected AttributeParser attribute_parser_

text_element_parser_

protected TextElementParser text_element_parser_

comment_inner_tag_element_parser_

protected CommentInnerTagElementParser comment_inner_tag_element_parser_

policy_

protected ParserPolicy policy_

is_novalue_occuered_

protected boolean is_novalue_occuered_

is_error_

protected boolean is_error_

tag_element_

protected TagElement tag_element_

text_element_

protected TextElement text_element_

endtag_name_

protected java.lang.String endtag_name_

is_start_tag_

protected boolean is_start_tag_

error_text_

protected java.lang.StringBuffer error_text_
Constructor Detail

ElementPartParser

public ElementPartParser()

ElementPartParser

public ElementPartParser(ParserPolicy policy)
Method Detail

match

public boolean match(char c)
Specified by:
match in class ParseElement

parse

public int parse(int c,
                 ElementParser parser)
          throws XMLParseException,
                 java.io.IOException
Specified by:
parse in class ParseElement
Throws:
XMLParseException
java.io.IOException

escape

public int escape(ElementParser parser,
                  java.lang.String message)
           throws XMLParseException,
                  java.io.IOException
Throws:
XMLParseException
java.io.IOException

isTagElement

public boolean isTagElement()

isTextElement

public boolean isTextElement()

isStartTag

public boolean isStartTag()

getTextElement

public TextElement getTextElement()

getTagElement

public TagElement getTagElement()

getEndTagName

public java.lang.String getEndTagName()