站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.6 API 英文版文档

XML1_0CharacterEntityReferenceParser - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.format.parser.entity
Class XML1_0CharacterEntityReferenceParser

java.lang.Object
  extended byorg.jboss.portal.format.parser.AbstractParser
      extended byorg.jboss.portal.format.parser.entity.XML1_0CharacterEntityReferenceParser
All Implemented Interfaces:
ParseEventNotifier

public class XML1_0CharacterEntityReferenceParser
extends AbstractParser

Detect XML 1.0 character entity references.

Version:
$Revision: 5448 $
Author:
Julien Viet

Nested Class Summary
private static class XML1_0CharacterEntityReferenceParser.CharSequenceImpl
           
 
Field Summary
private  CharacterEntityReferenceEvent cere
           
private static java.util.regex.Pattern pattern
           
private  TextEvent textEvent
           
 
Fields inherited from class org.jboss.portal.format.parser.AbstractParser
handler
 
Constructor Summary
XML1_0CharacterEntityReferenceParser()
           
 
Method Summary
 void parse(char[] chars, int offset, int length)
          Ask the parser to its job.
 
Methods inherited from class org.jboss.portal.format.parser.AbstractParser
setHandler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

textEvent

private final TextEvent textEvent

cere

private final CharacterEntityReferenceEvent cere

pattern

private static java.util.regex.Pattern pattern
Constructor Detail

XML1_0CharacterEntityReferenceParser

public XML1_0CharacterEntityReferenceParser()
Method Detail

parse

public void parse(char[] chars,
                  int offset,
                  int length)
Description copied from class: AbstractParser
Ask the parser to its job.

Specified by:
parse in class AbstractParser