public abstract class AbstractReader extends AbstractInputNotifier<Processor> implements Reader
Constructor and Description |
---|
AbstractReader() |
Modifier and Type | Method and Description |
---|---|
protected static String |
format(String prefix,
String value)
Formats a prefixed value as
"prefix:value" . |
protected void |
processEndDocument()
Processes the end of the current document.
|
protected void |
processNamespace(String prefix,
String uri)
Processes a
Namespace declaration. |
protected void |
processStartDocument()
Processes the start of the document.
|
addHandler, getHandlers, hasHandler
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
defaultProcessor, read
addHandler, getHandlers, hasHandler, notifyAttribute, notifyCharacters, notifyEndDocument, notifyEndElement, notifyReference, notifyStartDocument, notifyStartElement
@Nonnull protected static String format(@Nullable String prefix, @Nonnull String value)
"prefix:value"
. If the prefix
is null
, the returned value
only contains the value
.prefix
- the prefix of the valuevalue
- the value"prefix:value"
protected void processStartDocument()
protected void processNamespace(String prefix, String uri)
Namespace
declaration.prefix
- the prefixuri
- the URI associated with the prefix
Namespace.Registry.register(String, String)
protected void processEndDocument()
Copyright © 2013–2017 Atlanmod INRIA LINA Mines Nantes. All rights reserved.