XMLReaderJDOMFactory that allows for a single
central location to create XMLReaders. The Singletons (members) of this
enumeration can produce the most common XMLReaders: non-validating, XSD
validating, and DocType validating.
See the package documentation for details of how
to create the SAXParser you desire.
org.jdom2.input.sax
| Modifier and Type | Class and Description |
|---|---|
| private static enum | |
| private static interface | |
| private static enum | |
| private static enum |
| Modifier and Type | Field and Description |
|---|---|
| public static final XMLReaders | DTDVALIDATING
The DTD-validating Singleton |
| public static final XMLReaders | NONVALIDATING
The non-validating singleton |
| private final int | singletonID
the actual SAXParserFactory in the respective singletons. |
| public static final XMLReaders | XSDVALIDATING
The XSD-validating Singleton |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public XMLReader | Returns: a new XMLReader instance.Implements org. XMLReaderJDOMFactory.
|
| private XMLReaders. | |
| public boolean | isValidating()
Implements org. |
| public static XMLReaders | |
| public static XMLReaders[] |
| DTDVALIDATING | back to summary |
|---|---|
| public static final XMLReaders DTDVALIDATING The DTD-validating Singleton | |
| NONVALIDATING | back to summary |
|---|---|
| public static final XMLReaders NONVALIDATING The non-validating singleton | |
| singletonID | back to summary |
|---|---|
| private final int singletonID the actual SAXParserFactory in the respective singletons. | |
| XSDVALIDATING | back to summary |
|---|---|
| public static final XMLReaders XSDVALIDATING The XSD-validating Singleton | |
| XMLReaders | back to summary |
|---|---|
| private XMLReaders(int singletonID) Private constructor | |
| createXMLReader | back to summary |
|---|---|
| public XMLReader createXMLReader() throws JDOMException Implements org. Get a new XMLReader from this JAXP-based
| |
| getSupplier | back to summary |
|---|---|
| private XMLReaders. | |
| isValidating | back to summary |
|---|---|
| public boolean isValidating() Implements org. Doc from org. Does an XMLReader from this factory do more than just well-formed checks.
| |
| valueOf | back to summary |
|---|---|
| public static XMLReaders valueOf(String name) | |
| values | back to summary |
|---|---|
| public static XMLReaders[] values() | |
| Modifier and Type | Field and Description |
|---|---|
| private final SAXParserFactory | |
| public static final XMLReaders. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public SAXParserFactory | |
| public boolean | |
| public static XMLReaders. | |
| public static XMLReaders. |
| factory | back to summary |
|---|---|
| private final SAXParserFactory factory | |
| INSTANCE | back to summary |
|---|---|
| public static final XMLReaders. | |
| DTDSingleton | back to summary |
|---|---|
| private DTDSingleton() | |
| supply | back to summary |
|---|---|
| public SAXParserFactory supply() throws Exception Implements org.
| |
| validates | back to summary |
|---|---|
| public boolean validates() Implements org.
| |
| valueOf | back to summary |
|---|---|
| public static XMLReaders. | |
| values | back to summary |
|---|---|
| public static XMLReaders. | |
| Modifier and Type | Method and Description |
|---|---|
| public SAXParserFactory | |
| public boolean |
| supply | back to summary |
|---|---|
| public SAXParserFactory supply() throws Exception | |
| validates | back to summary |
|---|---|
| public boolean validates() | |
| Modifier and Type | Field and Description |
|---|---|
| private final SAXParserFactory | |
| public static final XMLReaders. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public SAXParserFactory | |
| public boolean | |
| public static XMLReaders. | |
| public static XMLReaders. |
| factory | back to summary |
|---|---|
| private final SAXParserFactory factory | |
| INSTANCE | back to summary |
|---|---|
| public static final XMLReaders. | |
| NONSingleton | back to summary |
|---|---|
| private NONSingleton() | |
| supply | back to summary |
|---|---|
| public SAXParserFactory supply() throws Exception Implements org.
| |
| validates | back to summary |
|---|---|
| public boolean validates() Implements org.
| |
| valueOf | back to summary |
|---|---|
| public static XMLReaders. | |
| values | back to summary |
|---|---|
| public static XMLReaders. | |
| Modifier and Type | Field and Description |
|---|---|
| private final SAXParserFactory | |
| private final Exception | |
| public static final XMLReaders. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public SAXParserFactory | |
| public boolean | |
| public static XMLReaders. | |
| public static XMLReaders. |
| factory | back to summary |
|---|---|
| private final SAXParserFactory factory | |
| failcause | back to summary |
|---|---|
| private final Exception failcause | |
| INSTANCE | back to summary |
|---|---|
| public static final XMLReaders. | |
| XSDSingleton | back to summary |
|---|---|
| private XSDSingleton() | |
| supply | back to summary |
|---|---|
| public SAXParserFactory supply() throws Exception Implements org.
| |
| validates | back to summary |
|---|---|
| public boolean validates() Implements org.
| |
| valueOf | back to summary |
|---|---|
| public static XMLReaders. | |
| values | back to summary |
|---|---|
| public static XMLReaders. | |