|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcytoscape.generated2.impl.runtime.InterleaveDispatcher
public abstract class InterleaveDispatcher
Splits the unmarshalling events to bracnhes to support XML Schema's <all> and RELAX NG's <interleave>
This class will be extended by the generated code.
Field Summary | |
---|---|
protected cytoscape.generated2.impl.runtime.InterleaveDispatcher.Site[] |
sites
Branches of an interleave. |
Constructor Summary | |
---|---|
protected |
InterleaveDispatcher(UnmarshallingContext context,
int size)
|
Method Summary | |
---|---|
void |
enterAttribute(String uri,
String local,
String qname)
|
void |
enterElement(String uri,
String local,
String qname,
Attributes atts)
|
protected abstract int |
getBranchForAttribute(String uri,
String local)
Returns the branch number that consumes the given attribute, or -1 if the name is not recognized. |
protected abstract int |
getBranchForElement(String uri,
String local)
Returns the branch number that consumes the given element, or -1 if the name is not recognized. |
protected abstract int |
getBranchForText()
Returns the branch number that consumes the text events, or -1 if no branch is expected to consume it. |
protected void |
init(UnmarshallingEventHandler[] handlers)
|
void |
leaveAttribute(String uri,
String local,
String qname)
|
void |
leaveChild(int nextState)
|
void |
leaveElement(String uri,
String local,
String qname)
|
Object |
owner()
Returns the content-tree object for which this unmarshaller is working for. |
void |
text(String s)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final cytoscape.generated2.impl.runtime.InterleaveDispatcher.Site[] sites
Constructor Detail |
---|
protected InterleaveDispatcher(UnmarshallingContext context, int size)
Method Detail |
---|
protected void init(UnmarshallingEventHandler[] handlers)
protected abstract int getBranchForElement(String uri, String local)
protected abstract int getBranchForAttribute(String uri, String local)
protected abstract int getBranchForText()
public Object owner()
UnmarshallingEventHandler
owner
in interface UnmarshallingEventHandler
public void enterElement(String uri, String local, String qname, Attributes atts) throws SAXException
enterElement
in interface UnmarshallingEventHandler
SAXException
public void leaveElement(String uri, String local, String qname) throws SAXException
leaveElement
in interface UnmarshallingEventHandler
SAXException
public void text(String s) throws SAXException
text
in interface UnmarshallingEventHandler
SAXException
public void enterAttribute(String uri, String local, String qname) throws SAXException
enterAttribute
in interface UnmarshallingEventHandler
SAXException
public void leaveAttribute(String uri, String local, String qname) throws SAXException
leaveAttribute
in interface UnmarshallingEventHandler
SAXException
public void leaveChild(int nextState) throws SAXException
leaveChild
in interface UnmarshallingEventHandler
SAXException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |