|
The Octet Molecular Representation Framework v0.8.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.octet.xml.BasicFlexMolHandler
A default implementation of the FlexMolHandler interface.
| Constructor Summary | |
BasicFlexMolHandler()
Default constructor. |
|
| Method Summary | |
void |
characters(char[] ch,
int start,
int length)
|
void |
endDocument()
|
void |
endElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName)
|
void |
endPrefixMapping(java.lang.String prefix)
|
AtomicSystem |
getAtomicSystem()
Returns the AtomicSystem in use by this FlexMolHandler. |
AtomProxy |
getAtomProxy(java.lang.String id)
Returns the AtomProxy associated with id in the FlexMol
document being processed. |
java.lang.String |
getCurrentElement()
Returns the current element being processed by this FlexMolHandler. |
RepresentationBuilder |
getRepresentationBuilder()
Returns the RepresenationBuilder in use by this
FlexMolHandler. |
void |
ignorableWhitespace(char[] ch,
int start,
int length)
|
void |
processingInstruction(java.lang.String target,
java.lang.String data)
|
void |
setAtomicSystem(AtomicSystem system)
Sets the AtomicSystem to be used by this
FlexMolHandler. |
void |
setDocumentLocator(org.xml.sax.Locator locator)
|
void |
setRepresentationBuilder(RepresentationBuilder builder)
Sets the RepresentationBuilder that will be used with
this FlexMolHandler. |
void |
skippedEntity(java.lang.String name)
|
void |
startDocument()
|
void |
startElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes atts)
|
void |
startPrefixMapping(java.lang.String prefix,
java.lang.String uri)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BasicFlexMolHandler()
| Method Detail |
public void characters(char[] ch,
int start,
int length)
throws org.xml.sax.SAXException
characters in interface org.xml.sax.ContentHandlerorg.xml.sax.SAXException
public void endDocument()
throws org.xml.sax.SAXException
endDocument in interface org.xml.sax.ContentHandlerorg.xml.sax.SAXExceptionpublic java.lang.String getCurrentElement()
FlexMolHandlerFlexMolHandler.
getCurrentElement in interface FlexMolHandlerFlexMolHandler,
or "", but not null
public void endElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName)
throws org.xml.sax.SAXException
endElement in interface org.xml.sax.ContentHandlerorg.xml.sax.SAXException
public void endPrefixMapping(java.lang.String prefix)
throws org.xml.sax.SAXException
endPrefixMapping in interface org.xml.sax.ContentHandlerorg.xml.sax.SAXException
public void ignorableWhitespace(char[] ch,
int start,
int length)
throws org.xml.sax.SAXException
ignorableWhitespace in interface org.xml.sax.ContentHandlerorg.xml.sax.SAXException
public void processingInstruction(java.lang.String target,
java.lang.String data)
throws org.xml.sax.SAXException
processingInstruction in interface org.xml.sax.ContentHandlerorg.xml.sax.SAXExceptionpublic void setDocumentLocator(org.xml.sax.Locator locator)
setDocumentLocator in interface org.xml.sax.ContentHandler
public void skippedEntity(java.lang.String name)
throws org.xml.sax.SAXException
skippedEntity in interface org.xml.sax.ContentHandlerorg.xml.sax.SAXException
public void startDocument()
throws org.xml.sax.SAXException
startDocument in interface org.xml.sax.ContentHandlerorg.xml.sax.SAXException
public void startElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes atts)
throws org.xml.sax.SAXException
startElement in interface org.xml.sax.ContentHandlerorg.xml.sax.SAXException
public void startPrefixMapping(java.lang.String prefix,
java.lang.String uri)
throws org.xml.sax.SAXException
startPrefixMapping in interface org.xml.sax.ContentHandlerorg.xml.sax.SAXExceptionpublic RepresentationBuilder getRepresentationBuilder()
FlexMolHandlerRepresenationBuilder in use by this
FlexMolHandler.
getRepresentationBuilder in interface FlexMolHandlerRepresenationBuilder in use by this
FlexMolHandlerpublic void setRepresentationBuilder(RepresentationBuilder builder)
FlexMolHandlerRepresentationBuilder that will be used with
this FlexMolHandler. Failure to set a RepresentationBuilder
will result in a SAXException being thrown upon
invocation of XMLReader.parse.
setRepresentationBuilder in interface FlexMolHandlerbuilder - the RepresenationBuilder that will be
used with this FlexMolHandlerpublic AtomicSystem getAtomicSystem()
FlexMolHandlerAtomicSystem in use by this FlexMolHandler.
getAtomicSystem in interface FlexMolHandlerAtomicSystem in use by this FlexMolHandlerpublic void setAtomicSystem(AtomicSystem system)
FlexMolHandlerAtomicSystem to be used by this
FlexMolHandler. Failure to set an AtomicSystem
will result in a SAXException being thrown upon
invocation of XMLReader.parse.
setAtomicSystem in interface FlexMolHandlersystem - the AtomicSystem to be used by this
FlexMolHandlerpublic AtomProxy getAtomProxy(java.lang.String id)
FlexMolHandlerAtomProxy associated with id in the FlexMol
document being processed.
getAtomProxy in interface FlexMolHandlerid - the atom id
AtomProxy associated with id in the FlexMol
document being processed, or null if none is found
|
The Octet Molecular Representation Framework v0.8.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||