|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.xml.sax.helpers.DefaultHandler
EDU.utwente.CoCompose.xml.ImplementationGeneratorReader
XML reader for reading implementation generator data into an ImplementationGenerator.
Field Summary | |
protected ImplementationGenerator |
pattern
The implementation generator that is being read. |
protected ImplementationRolePart |
rolepart
The role part that is currently being read. |
static java.lang.String |
XMLNAME_CONSTR
|
static java.lang.String |
XMLNAME_ROLEPART
|
Constructor Summary | |
ImplementationGeneratorReader(ImplementationGenerator pattern_in)
Constructs an ImplementationGeneratorReader. |
Method Summary | |
void |
characters(char[] ch,
int start,
int length)
Characters. |
void |
endElement(java.lang.String uri,
java.lang.String local,
java.lang.String raw)
End element. |
protected void |
endRolePart()
End RolePart element. |
protected void |
startConstraint(org.xml.sax.Attributes attrs)
Start Constraint element. |
void |
startElement(java.lang.String uri,
java.lang.String local,
java.lang.String raw,
org.xml.sax.Attributes attrs)
Start element. |
protected void |
startRolePart(org.xml.sax.Attributes attrs)
Start RolePart element. |
Methods inherited from class org.xml.sax.helpers.DefaultHandler |
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String XMLNAME_ROLEPART
public static final java.lang.String XMLNAME_CONSTR
protected ImplementationGenerator pattern
protected ImplementationRolePart rolepart
Constructor Detail |
public ImplementationGeneratorReader(ImplementationGenerator pattern_in) throws org.xml.sax.SAXException
pattern_in
- The implementation generator object to read the data into.
org.xml.sax.SAXException
- if the implementation generator is null.Method Detail |
protected void startRolePart(org.xml.sax.Attributes attrs) throws java.lang.Exception
attrs
- Element attributes.
java.lang.Exception
- if the attributes could not be read.protected void startConstraint(org.xml.sax.Attributes attrs) throws java.lang.Exception
attrs
- Element attributes.
java.lang.Exception
- if the attributes could not be read.protected void endRolePart()
public void startElement(java.lang.String uri, java.lang.String local, java.lang.String raw, org.xml.sax.Attributes attrs) throws org.xml.sax.SAXException
uri
- Ignored.local
- Ignored.raw
- Element name.attrs
- Element attributes.
org.xml.sax.SAXException
- if the new element could not be parsed.public void characters(char[] ch, int start, int length)
start
- Starting index of characters.length
- Length of characters.public void endElement(java.lang.String uri, java.lang.String local, java.lang.String raw) throws org.xml.sax.SAXException
uri
- Ignored.local
- Ignored.raw
- Element name.
org.xml.sax.SAXException
- if the new element could not be parsed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |