Package | Description |
---|---|
com.caucho.relaxng | |
com.caucho.relaxng.pattern | |
com.caucho.relaxng.program |
Modifier and Type | Method and Description |
---|---|
void |
CompactParser.parse(org.xml.sax.InputSource source)
Parses the relax file.
|
Constructor and Description |
---|
SchemaImpl(GrammarPattern grammar) |
Modifier and Type | Method and Description |
---|---|
RelaxException |
Pattern.error(java.lang.String msg)
creates an error.
|
Modifier and Type | Method and Description |
---|---|
void |
InterleavePattern.addChild(Pattern child)
Adds an element.
|
void |
ChoicePattern.addChild(Pattern child)
Adds an element.
|
void |
ElementPattern.addChild(Pattern child)
Adds an element.
|
void |
AttributePattern.addChild(Pattern child)
Adds an attribute.
|
void |
Pattern.addChild(Pattern child)
Adds an element child.
|
void |
ZeroOrMorePattern.addChild(Pattern child)
Adds an element.
|
void |
GroupPattern.addChild(Pattern child)
Adds an element.
|
void |
ChoiceNamePattern.addNameChild(NameClassPattern child)
Adds an element.
|
void |
ElementPattern.addNameChild(NameClassPattern child)
Adds an element.
|
void |
AttributePattern.addNameChild(NameClassPattern child)
Adds an element.
|
void |
Pattern.addNameChild(NameClassPattern child)
Adds a name child.
|
void |
ExcludeNamePattern.addNameChild(NameClassPattern child)
Adds an element.
|
Item |
RefPattern.createItem(GrammarPattern grammar)
Creates the item.
|
Item |
InterleavePattern.createItem(GrammarPattern grammar)
Creates the production item.
|
Item |
ChoicePattern.createItem(GrammarPattern grammar)
Creates the production item.
|
Item |
DataPattern.createItem(GrammarPattern grammar)
Creates the program (somewhat bogus)
|
Item |
EmptyPattern.createItem(GrammarPattern grammar)
Creates the program (somewhat bogus)
|
Item |
ElementPattern.createItem(GrammarPattern grammar)
Creates the item, i.e.
|
Item |
TextPattern.createItem(GrammarPattern grammar)
Creates the program (somewhat bogus)
|
Item |
AttributePattern.createItem(GrammarPattern grammar)
Creates the program (somewhat bogus)
|
Item |
Pattern.createItem(GrammarPattern grammar)
Creates the current state
|
Item |
ZeroOrMorePattern.createItem(GrammarPattern grammar)
Creates the production item.
|
Item |
GroupPattern.createItem(GrammarPattern grammar)
Creates the production item.
|
NameClassItem |
ChoiceNamePattern.createNameItem()
Creates the production item.
|
NameClassItem |
NsNamePattern.createNameItem()
Creates the program.
|
NameClassItem |
NamePattern.createNameItem()
Creates the program.
|
NameClassItem |
Pattern.createNameItem()
Creates the name program
|
NameClassItem |
AnyNamePattern.createNameItem()
Creates the program.
|
void |
ElementPattern.endElement()
Ends the element.
|
void |
AttributePattern.endElement()
Ends the element.
|
void |
Pattern.endElement()
Ends the element.
|
NameClassPattern |
ElementPattern.getNameChild()
Adds an element.
|
NameClassPattern |
AttributePattern.getNameChild()
get the name child
|
void |
Pattern.setParent(Pattern parent)
Sets the parent.
|
void |
NameClassPattern.setParent(Pattern parent)
Sets the parent.
|
void |
GrammarPattern.setStart(Pattern start)
Sets the start element
|
Constructor and Description |
---|
ZeroOrMorePattern(Pattern pattern)
Creates a new zero-or-more pattern.
|
Modifier and Type | Method and Description |
---|---|
protected RelaxException |
Item.error(java.lang.String msg)
Throws an error.
|
protected RelaxException |
NameClassItem.error(java.lang.String msg)
Throws an error.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Item.allowAttribute(QName name,
java.lang.String value)
Sets an attribute.
|
boolean |
MemoItem.allowAttribute(QName name,
java.lang.String value)
Sets an attribute.
|
boolean |
ZeroOrMoreItem.allowAttribute(QName name,
java.lang.String value)
Returns true if the attribute is allowed.
|
boolean |
GroupItem.allowAttribute(QName name,
java.lang.String value)
Returns true if the attribute is allowed.
|
boolean |
InElementItem.allowAttribute(QName name,
java.lang.String value)
Sets an attribute.
|
boolean |
ChoiceItem.allowAttribute(QName name,
java.lang.String value)
Returns true if the attribute is allowed.
|
boolean |
InterleaveItem.allowAttribute(QName name,
java.lang.String value)
Returns true if the attribute is allowed.
|
boolean |
AttributeItem.allowAttribute(QName name,
java.lang.String value)
Returns true if the attribute is allowed.
|
Item |
Item.endElement()
Returns the next item when the element closes
|
Item |
MemoItem.endElement()
Returns the next item when the element closes
|
Item |
InElementItem.endElement()
Returns the next item when the element is completes.
|
Item |
ChoiceItem.endElement()
Returns the next item when the element closes
|
Item |
Item.setAttribute(QName name,
java.lang.String value)
Sets an attribute.
|
Item |
MemoItem.setAttribute(QName name,
java.lang.String value)
Sets an attribute.
|
Item |
GroupItem.setAttribute(QName name,
java.lang.String value)
Sets an attribute.
|
Item |
InElementItem.setAttribute(QName name,
java.lang.String value)
Sets an attribute.
|
Item |
ChoiceItem.setAttribute(QName name,
java.lang.String value)
Sets an attribute.
|
Item |
InterleaveItem.setAttribute(QName name,
java.lang.String value)
Sets an attribute.
|
Item |
AttributeItem.setAttribute(QName name,
java.lang.String value)
Returns the next item on the match.
|
Item |
Item.startElement(QName name)
Returns the next item when an element of the given name is returned
|
Item |
MemoItem.startElement(QName name)
Returns the next item when an element of the given name is returned
|
Item |
ElementItem.startElement(QName name)
Returns the next item on the match.
|
Item |
ZeroOrMoreItem.startElement(QName name)
Returns the next item on the match.
|
Item |
GroupItem.startElement(QName name)
Returns the next item when an element of the given name is returned
|
Item |
InElementItem.startElement(QName name)
Returns the next item when an element of the given name is returned
|
Item |
ChoiceItem.startElement(QName name)
Returns the next item on the match.
|
Item |
InterleaveItem.startElement(QName name)
Returns the next item on the match.
|
Item |
Item.text(java.lang.CharSequence text)
Adds text.
|
Item |
MemoItem.text(java.lang.CharSequence text)
Adds text.
|
Item |
GroupItem.text(java.lang.CharSequence string)
Returns the next item when some text data is available.
|
Item |
InElementItem.text(java.lang.CharSequence string)
Returns the next item when some text data is available.
|
Item |
ChoiceItem.text(java.lang.CharSequence data)
Returns the next item on the match.
|
Item |
InterleaveItem.text(java.lang.CharSequence string)
Returns the next item on some text
|