protected class SystemInputDocReader.FunctionHandler extends SystemInputDocReader.AnnotatedHandler
Modifier | Constructor and Description |
---|---|
protected |
FunctionHandler() |
Modifier and Type | Method and Description |
---|---|
protected Set<String> |
addAttributes(Set<String> attributes)
Adds the valid attributes for this element.
|
void |
addPropertyDef(String property,
Integer lineNum)
Records the location of a property definition.
|
void |
addPropertyRef(String property,
Integer lineNum)
Records the location of a property reference.
|
void |
endElement(String uri,
String localName,
String qName) |
protected Annotated |
getAnnotated()
Returns the Annotated instance for this handler.
|
SystemInputDocReader.FunctionHandler |
getFunctionHandler()
Returns the handler for the Function element containing this element.
|
FunctionInputDef |
getFunctionInputDef()
Returns the
FunctionInputDef represented by this element. |
boolean |
isMember(String memberQname)
Returns true if the given element is a valid member of this element.
|
void |
startElement(String uri,
String localName,
String qName,
Attributes attributes) |
getAnnotation, setAnnotation
addAttributeList, getAttribute, getIdentifier, getInteger, getParent, getValidAttributes, propertiesDefined, propertiesReferenced, requireAttribute, requireAttribute, requireIdentifier, requireInteger, requireNonBlankAttribute, setParent, toIdentifier, toInteger, toProperties, validateAttributes
characters, endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
public boolean isMember(String memberQname)
isMember
in class SystemInputDocReader.AnnotatedHandler
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException
startElement
in interface ContentHandler
startElement
in class DefaultHandler
SAXException
public void endElement(String uri, String localName, String qName) throws SAXException
endElement
in interface ContentHandler
endElement
in class DefaultHandler
SAXException
public FunctionInputDef getFunctionInputDef()
FunctionInputDef
represented by this element.public SystemInputDocReader.FunctionHandler getFunctionHandler()
getFunctionHandler
in class SystemInputDocReader.ElementHandler
public void addPropertyDef(String property, Integer lineNum)
public void addPropertyRef(String property, Integer lineNum)
protected Set<String> addAttributes(Set<String> attributes)
addAttributes
in class SystemInputDocReader.ElementHandler
protected Annotated getAnnotated()
getAnnotated
in class SystemInputDocReader.AnnotatedHandler
Copyright © 2024 The Cornutum Project. All rights reserved.