|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.tools.jxc.gen.config.NGCCRuntime
com.sun.tools.jxc.NGCCRuntimeEx
public final class NGCCRuntimeEx
Controls the validating and converting of values obtained from the config file.
Constructor Summary | |
---|---|
NGCCRuntimeEx(org.xml.sax.ErrorHandler errorHandler)
|
Method Summary | |
---|---|
java.io.File |
getBaseDir(java.lang.String baseDir)
This will check if the baseDir provided by the user in the config file exists. |
java.util.List |
getExcludePatterns(java.util.List excludeContent)
This takes the exclude list provided by the user in the config file It converts the user values to Pattern |
java.util.List<java.util.regex.Pattern> |
getIncludePatterns(java.util.List includeContent)
This takes the include list provided by the user in the config file It converts the user values to Pattern |
protected void |
unexpectedX(java.lang.String token)
|
Methods inherited from class com.sun.tools.jxc.gen.config.NGCCRuntime |
---|
characters, consumeAttribute, endDocument, endElement, endPrefixMapping, getAttributeIndex, getCurrentAttributes, getLocator, ignorableWhitespace, onEnterElementConsumed, onLeaveElementConsumed, processingInstruction, processList, redirectSubtree, replace, reset, resolveNamespacePrefix, sendEnterAttribute, sendEnterElement, sendLeaveAttribute, sendLeaveElement, sendText, setDocumentLocator, setRootHandler, skippedEntity, startDocument, startElement, startPrefixMapping, trace, traceln |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NGCCRuntimeEx(org.xml.sax.ErrorHandler errorHandler)
Method Detail |
---|
public java.io.File getBaseDir(java.lang.String baseDir) throws org.xml.sax.SAXException
baseDir
- The baseDir attribute passed by the user in the xml config file as a path
org.xml.sax.SAXException
public java.util.List<java.util.regex.Pattern> getIncludePatterns(java.util.List includeContent)
Pattern
includeContent
- The include list specified by the user
Pattern
public java.util.List getExcludePatterns(java.util.List excludeContent)
Pattern
excludeContent
- The exclude list specified by the user
Pattern
protected void unexpectedX(java.lang.String token) throws org.xml.sax.SAXException
unexpectedX
in class com.sun.tools.jxc.gen.config.NGCCRuntime
org.xml.sax.SAXException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |