public class BinaryParser extends XMLParser
Modifier and Type | Field and Description |
---|---|
static int |
BINARY_RESULT_ID
Attribute IDs for Binary configuration BINARY_RESULT_ID -- binary storage, value can be OutputStream, File or Blob PAGE_MANAGER_ID -- value must be a PageManager ELEMENT_INDEXING_ID - Indexing or not, value is a Boolean.
|
static int |
ELEMENT_INDEXING_ID |
static int |
PAGE_MANAGER_ID |
BASE_URL, BASE_URL_ID, CONTENT_MODEL_DETERMINISTIC, DEFAULT_ENTITY_EXPANSION_DEPTH, DEFAULT_ENTITY_EXPANSION_DEPTH_SECURE, DTD_OBJECT, DTD_OBJECT_ID, ENTITY_EXPANSION_DEPTH, ENTITY_EXPANSION_DEPTH_ID, EXPAND_ENTITYREF, EXPAND_ENTITYREF_ID, IGNORE_DUPLICATE_ID, PARSER, PARSER_CDATA, PARSER_DTD, RESOLVE_ENTITY_DEFAULT, RESOLVE_ENTITY_DEFAULT_ID, SCHEMA_LANGUAGE, SCHEMA_LANGUAGE_ID, SCHEMA_OBJECT, SCHEMA_OBJECT_ID, SCHEMA_SOURCE, SCHEMA_SOURCE_ID, STANDALONE, STANDALONE_ID, USE_DTD_ONLY_FOR_VALIDATION, USE_DTD_ONLY_FOR_VALIDATION_ID, XDK_ATTRIBUTE_ENTITY_EXPANSION_COUNT_LIMIT, XDK_ATTRIBUTE_ENTITY_EXPANSION_COUNT_LIMIT_DEFAULT, XDK_ATTRIBUTE_ENTITY_EXPANSION_COUNT_LIMIT_ID, XDK_ATTRIBUTE_ENTITY_EXPANSION_COUNT_LIMIT_SECURE, XDK_FEATURE_ALLOW_ILLEGAL_UTF8_ENCODING, XDK_FEATURE_ALLOW_ILLEGAL_UTF8_ENCODING_ID, XDK_FEATURE_CONTENT_MODEL_DETERMINISTIC, XDK_FEATURE_CONTENT_MODEL_DETERMINISTIC_ID
Constructor and Description |
---|
BinaryParser() |
Modifier and Type | Method and Description |
---|---|
BinaryStream |
getBinaryStream() |
void |
setAttribute(int id, java.lang.Object value)
Allows the user to set specific attributes on the underlying implementation.
|
void |
setBinaryStream(BinaryStream stream) |
getAttribute, getBaseURL, getEntityResolver, getErrorHandler, getReleaseVersion, getValidationMode, getValidationModeValue, getXMLProperty, isXMLPropertyReadOnly, isXMLPropertySupported, parse, parse, parse, parse, parse, reset, setAttribute, setBaseURL, setDoctype, setEntityResolver, setErrorHandler, setLocale, setPreserveWhitespace, setSchemaValidationMode, setSchemaValidatorProperty, setSecureProcessing, setValidationMode, setValidationMode, setXMLProperty, setXMLSchema
public static final int BINARY_RESULT_ID
public static final int PAGE_MANAGER_ID
public static final int ELEMENT_INDEXING_ID
public void setBinaryStream(BinaryStream stream) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public BinaryStream getBinaryStream()
public void setAttribute(int id, java.lang.Object value) throws java.lang.IllegalArgumentException
setAttribute
in class XMLParser
id
- The id of the attribute.value
- The value of the attribute.java.lang.IllegalArgumentException
- thrown if the underlying implementation doesn't recognize the attribute.