package com.fasterxml.aalto.sax;
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; }
}