public class EncodingXMLParser
extends org.kxml2.io.KXmlParser
CDSECT, COMMENT, DOCDECL, END_DOCUMENT, END_TAG, ENTITY_REF, FEATURE_PROCESS_DOCDECL, FEATURE_PROCESS_NAMESPACES, FEATURE_REPORT_NAMESPACE_ATTRIBUTES, FEATURE_VALIDATION, IGNORABLE_WHITESPACE, NO_NAMESPACE, PROCESSING_INSTRUCTION, START_DOCUMENT, START_TAG, TEXT, TYPES| Constructor and Description |
|---|
EncodingXMLParser() |
| Modifier and Type | Method and Description |
|---|---|
void |
setInput(java.io.File file)
This method reads the first bytes of the file and
try to discover the file encoding.
|
defineEntityReplacementText, getAttributeCount, getAttributeName, getAttributeNamespace, getAttributePrefix, getAttributeType, getAttributeValue, getAttributeValue, getColumnNumber, getDepth, getEventType, getFeature, getInputEncoding, getLineNumber, getName, getNamespace, getNamespace, getNamespaceCount, getNamespacePrefix, getNamespaceUri, getPositionDescription, getPrefix, getProperty, getText, getTextCharacters, isAttributeDefault, isEmptyElementTag, isWhitespace, next, nextTag, nextText, nextToken, require, setFeature, setInput, setInput, setProperty, skipSubTreepublic void setInput(java.io.File file)
throws org.xmlpull.v1.XmlPullParserException,
java.io.IOException
file - org.xmlpull.v1.XmlPullParserExceptionjava.io.IOExceptionCopyright © 2021 gvSIG Association. All rights reserved.