anvil.core.xml
Class AnyDOMHandler

java.lang.Object
  |
  +--anvil.core.Any
        |
        +--anvil.core.AnyAbstractClass
              |
              +--anvil.core.xml.AnyDOMHandler
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Comparable, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler
Direct Known Subclasses:
AnySAXHandler

public class AnyDOMHandler
extends AnyAbstractClass
implements org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler

class AnyDOMHandler


Field Summary
static NativeClass _class
           
static java.lang.Object[] p_error
           
static java.lang.Object[] p_fatalError
           
static java.lang.Object[] p_resolveEntity
           
static java.lang.Object[] p_warning
           
 
Fields inherited from class anvil.core.Any
ARRAY0, DOUBLE_MINUS_ONE, DOUBLE_ONE, DOUBLE_ZERO, EMPTY_STRING, EMPTY_TUPLE, FALSE, INF, IS_ARRAY, IS_BINARY, IS_BOOLEAN, IS_BUFFER, IS_CLASS, IS_DOUBLE, IS_ENUMERATION, IS_INF, IS_INT, IS_LIST, IS_MAP, IS_NEG_INF, IS_NULL, IS_PATTERN, IS_RANGE, IS_STRING, IS_TUPLE, IS_UNDEFINED, MINUS_ONE, NAN, NEG_INF, NULL, ONE, p_compareTo, p_each, p_equals, p_pipe, p_select, THREE, TRUE, TWO, UNDEFINED, ZERO
 
Constructor Summary
AnyDOMHandler()
           
 
Method Summary
 ClassType classOf()
          Returns the type of this Any.
 void error(org.xml.sax.SAXParseException exception)
           
 void fatalError(org.xml.sax.SAXParseException exception)
           
 ErrorListener getListener()
           
 Any init(Context context)
           
 Any m_error(Context context, Any location, Any message)
           
 Any m_fatalError(Context context, Any location, Any message)
           
 Any m_resolveEntity(Context context, Any publicId, Any systemId)
           
 Any m_warning(Context context, Any location, Any message)
           
 org.xml.sax.InputSource resolveEntity(java.lang.String publicId, java.lang.String systemId)
           
 void warning(org.xml.sax.SAXParseException exception)
           
 
Methods inherited from class anvil.core.AnyAbstractClass
doSerialize, isMutable, serialize, serializeObject, toBoolean, toString, typeOf, unserialize, unserializeObject
 
Methods inherited from class anvil.core.Any
_clone, _copy, _invoke, _invoke, _invoke, _invoke, _invoke, _invoke, _serialize, _unserialize, _wakeup, add, classNameOf, clone, coerce, compare, compareTo, concat, contains, copy, create, create, create, create, create, create, create, create, create, create, create, create, create, create, decrease, deleteAttribute, deleteReference, divide, equals, execute, execute, execute, execute, execute, execute, getAttribute, getRef, getReference, has, increase, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, invoke, isArray, isBinary, isBoolean, isBuffer, isDefined, isDouble, isInstanceOf, isInt, isIterator, isList, isMap, isNull, isPattern, isRange, isRef, isSequence, isString, isTuple, isUndefined, iterator, m_clone, m_compareTo, m_copy, m_each, m_equals, m_hashCode, m_pipe, m_select, m_toBoolean, m_toString, minus, modulo, multiply, not, plus, setAttribute, setRef, setReference, setReference, sizeOf, subtract, toAnvil, toAnvil, toAnyBoolean, toAnyDouble, toAnyInt, toAnyString, toArray, toBinary, toBuffer, toByte, toChar, toCode, toDouble, toInt, toList, toLong, toMap, toObject, toPattern, toRange, toTuple, type
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

p_error

public static final java.lang.Object[] p_error

p_fatalError

public static final java.lang.Object[] p_fatalError

p_warning

public static final java.lang.Object[] p_warning

p_resolveEntity

public static final java.lang.Object[] p_resolveEntity

_class

public static final NativeClass _class
Constructor Detail

AnyDOMHandler

public AnyDOMHandler()
Method Detail

init

public Any init(Context context)

classOf

public ClassType classOf()
Description copied from class: Any
Returns the type of this Any.

Specified by:
classOf in class AnyAbstractClass

getListener

public ErrorListener getListener()

error

public void error(org.xml.sax.SAXParseException exception)
Specified by:
error in interface org.xml.sax.ErrorHandler

fatalError

public void fatalError(org.xml.sax.SAXParseException exception)
Specified by:
fatalError in interface org.xml.sax.ErrorHandler

warning

public void warning(org.xml.sax.SAXParseException exception)
Specified by:
warning in interface org.xml.sax.ErrorHandler

resolveEntity

public org.xml.sax.InputSource resolveEntity(java.lang.String publicId,
                                             java.lang.String systemId)
                                      throws org.xml.sax.SAXException
Specified by:
resolveEntity in interface org.xml.sax.EntityResolver
org.xml.sax.SAXException

m_error

public Any m_error(Context context,
                   Any location,
                   Any message)

m_fatalError

public Any m_fatalError(Context context,
                        Any location,
                        Any message)

m_warning

public Any m_warning(Context context,
                     Any location,
                     Any message)

m_resolveEntity

public Any m_resolveEntity(Context context,
                           Any publicId,
                           Any systemId)