com.fasterxml.aalto.sax.SAXProperty Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aalto-xml Show documentation
Show all versions of aalto-xml Show documentation
Ultra-high performance non-blocking XML processor (Stax/Stax2, SAX/SAX2)
package com.fasterxml.aalto.sax;
/**
* Enumeration for listing all currently (SAX 2.0.2) defined standard
* properties.
*/
public enum SAXProperty
{
DECLARATION_HANDLER("declaration-handler")
,DOCUMENT_XML_VERSION("document-xml-version")
,DOM_NODE("dom-node")
,LEXICAL_HANDLER("lexical-handler")
,XML_STRING("xml-string")
;
public final static String STD_PROPERTY_PREFIX = "http://xml.org/sax/properties/";
private final String mSuffix;
SAXProperty(String suffix) {
mSuffix = suffix;
}
public String getSuffix() { return mSuffix; }
public String toExternal() { return STD_PROPERTY_PREFIX + mSuffix; }
}