|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xml.sax.helpers.DefaultHandler
org.openanzo.util.properties.PropertiesDefinitionParser
public class PropertiesDefinitionParser
PropertiesDefintionParser handles the parsed results of a properties definition file.
| Nested Class Summary | |
|---|---|
class |
PropertiesDefinitionParser.Description
Representation of a description value |
class |
PropertiesDefinitionParser.Example
Representation of an Example |
class |
PropertiesDefinitionParser.Property
Class representing a Property |
class |
PropertiesDefinitionParser.PropertyGroup
Class representing a group of properties that get combined into a class |
static class |
PropertiesDefinitionParser.PropType
Types of property values |
class |
PropertiesDefinitionParser.Tag
Representation of a tag value |
static class |
PropertiesDefinitionParser.Type
Types of examples and descriptions |
| Constructor Summary | |
|---|---|
PropertiesDefinitionParser()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
capFirstLetter(java.lang.String value)
Capitalize the first Letter of a string, and the first letter following a . |
void |
characters(char[] ch,
int start,
int length)
|
void |
endElement(java.lang.String uri,
java.lang.String localName,
java.lang.String name)
|
PropertiesDefinitionParser.PropertyGroup |
getGroup()
Get the PropertyGroup for this parser |
java.util.ArrayList<PropertiesDefinitionParser.PropertyGroup> |
getGroups()
Get the set of property groups that were parsed |
static java.lang.String |
replaceDots(java.lang.String value)
Replace all '.', and capitalize the letters following the '.'s. |
void |
startElement(java.lang.String uri,
java.lang.String localName,
java.lang.String name,
org.xml.sax.Attributes attributes)
|
| 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 |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PropertiesDefinitionParser()
| Method Detail |
|---|
public static java.lang.String capFirstLetter(java.lang.String value)
value -
public static java.lang.String replaceDots(java.lang.String value)
value -
public PropertiesDefinitionParser.PropertyGroup getGroup()
public void startElement(java.lang.String uri,
java.lang.String localName,
java.lang.String name,
org.xml.sax.Attributes attributes)
throws org.xml.sax.SAXException
startElement in interface org.xml.sax.ContentHandlerstartElement in class org.xml.sax.helpers.DefaultHandlerorg.xml.sax.SAXException
public void endElement(java.lang.String uri,
java.lang.String localName,
java.lang.String name)
throws org.xml.sax.SAXException
endElement in interface org.xml.sax.ContentHandlerendElement in class org.xml.sax.helpers.DefaultHandlerorg.xml.sax.SAXException
public void characters(char[] ch,
int start,
int length)
characters in interface org.xml.sax.ContentHandlercharacters in class org.xml.sax.helpers.DefaultHandlerpublic java.util.ArrayList<PropertiesDefinitionParser.PropertyGroup> getGroups()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||