Package org.codelibs.fess.util
Class GsaConfigParser
java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.codelibs.fess.util.GsaConfigParser
- All Implemented Interfaces:
ContentHandler,DTDHandler,EntityResolver,ErrorHandler
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected static final Stringprotected static final Stringstatic final Stringprotected FileConfigprotected String[]protected static final Stringprotected static final Stringprotected LabelTypestatic final Stringstatic final Stringstatic final Stringprotected static final Stringprotected LinkedList<String>protected StringBuilderprotected Stringprotected WebConfigprotected String[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringappendFileterPath(StringBuilder buf, String v) voidcharacters(char[] ch, int start, int length) voidvoidendElement(String uri, String localName, String qName) protected Stringorg.dbflute.optional.OptionalEntity<FileConfig>protected Stringorg.dbflute.optional.OptionalEntity<WebConfig>voidparse(InputSource is) protected StringparseFilterPaths(String text, boolean web, boolean file) voidsetFileProtocols(String[] fileProtocols) voidsetWebProtocols(String[] webProtocols) voidvoidstartElement(String uri, String localName, String qName, Attributes attributes) toString()protected StringMethods inherited from class org.xml.sax.helpers.DefaultHandler
endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startPrefixMapping, unparsedEntityDecl, warningMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.xml.sax.ContentHandler
declaration
-
Field Details
-
REGEXP
- See Also:
-
REGEXP_CASE
- See Also:
-
REGEXP_IGNORE_CASE
- See Also:
-
CONTAINS
- See Also:
-
COLLECTIONS
- See Also:
-
COLLECTION
- See Also:
-
GLOBALPARAMS
- See Also:
-
START_URLS
- See Also:
-
GOOD_URLS
- See Also:
-
BAD_URLS
- See Also:
-
webProtocols
-
fileProtocols
-
tagQueue
-
labelList
-
labelType
-
globalParams
-
webConfig
-
fileConfig
-
textBuf
-
userAgent
-
-
Constructor Details
-
GsaConfigParser
public GsaConfigParser()
-
-
Method Details
-
parse
-
startDocument
- Specified by:
startDocumentin interfaceContentHandler- Overrides:
startDocumentin classDefaultHandler- Throws:
SAXException
-
endDocument
- Specified by:
endDocumentin interfaceContentHandler- Overrides:
endDocumentin classDefaultHandler- Throws:
SAXException
-
startElement
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException - Specified by:
startElementin interfaceContentHandler- Overrides:
startElementin classDefaultHandler- Throws:
SAXException
-
endElement
- Specified by:
endElementin interfaceContentHandler- Overrides:
endElementin classDefaultHandler- Throws:
SAXException
-
characters
- Specified by:
charactersin interfaceContentHandler- Overrides:
charactersin classDefaultHandler- Throws:
SAXException
-
parseFilterPaths
-
getFilterPath
-
escape
-
unescape
-
appendFileterPath
-
setWebProtocols
-
setFileProtocols
-
toString
-
getWebConfig
-
getFileConfig
-
getLabelTypes
-