buldocs Ltd.
xnsdoc 1.2.1 Java API

com.xnsdoc
Class BaseProcessor

java.lang.Object
  extended bycom.xnsdoc.BaseProcessor
Direct Known Subclasses:
Processor

public abstract class BaseProcessor
extends java.lang.Object

Abstract base class for the xnsdoc processor.

Since:
xnsdoc 1.0

Field Summary
static java.lang.String NAMESPACE_NAMESPACE
          Namespace-URI of namespace of W3C-XML-Namespace.
static java.lang.String RESOURCE_PROTOCOL
          protocol prefix for resource files.
static java.lang.String SCHEMA_NS
          namespace of XML schema.
static java.lang.String XMLNS_XS
          Default namespace declaration attribute nama for XML schema namespace.
static java.lang.String XMLSCHEMA_NAMESPACE
          Namespace-URI of namespace of W3C-XML-Schema.
 
Constructor Summary
BaseProcessor()
          Default constructor.
 
Method Summary
 ProcessorListener getListener()
          Getter method for listener property.
 boolean isDebug()
          Getter method for debug property.
 boolean isVerbose()
          Getter method for debug property.
 void setDebug(boolean theDebug)
          Setter method for debug property.
 void setListener(ProcessorListener theListener)
          Setter method for the listener.
 void setVerbose(boolean theVerbose)
          Setter method for verbose property.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAMESPACE_NAMESPACE

public static final java.lang.String NAMESPACE_NAMESPACE
Namespace-URI of namespace of W3C-XML-Namespace.

See Also:
Constant Field Values

RESOURCE_PROTOCOL

public static final java.lang.String RESOURCE_PROTOCOL
protocol prefix for resource files.

See Also:
Constant Field Values

SCHEMA_NS

public static final java.lang.String SCHEMA_NS
namespace of XML schema.

See Also:
Constant Field Values

XMLNS_XS

public static final java.lang.String XMLNS_XS
Default namespace declaration attribute nama for XML schema namespace.

See Also:
Constant Field Values

XMLSCHEMA_NAMESPACE

public static final java.lang.String XMLSCHEMA_NAMESPACE
Namespace-URI of namespace of W3C-XML-Schema.

See Also:
Constant Field Values
Constructor Detail

BaseProcessor

public BaseProcessor()
Default constructor.

Method Detail

getListener

public final ProcessorListener getListener()
Getter method for listener property.

Returns:
Returns the listener.

isDebug

public final boolean isDebug()
Getter method for debug property.

Returns:
if debug mode enabled or not

isVerbose

public final boolean isVerbose()
Getter method for debug property.

Returns:
if debug mode enabled or not

setDebug

public final void setDebug(boolean theDebug)
Setter method for debug property.

Parameters:
theDebug - output debug information or not

setListener

public final void setListener(ProcessorListener theListener)
Setter method for the listener.

Parameters:
theListener - The listener to set.

setVerbose

public final void setVerbose(boolean theVerbose)
Setter method for verbose property.

Parameters:
theVerbose - be verbose or not

buldocs Ltd.
xnsdoc 1.2.1 Java API

Copyright 2005 buldocs Ltd. All rights reserved.
Use is subject to license terms.