Top Fields Constructors Methods
org.apache.xerces.impl.xs.models

public Class CMNodeFactory

extends Object
Class Inheritance
Imports
org.apache.xerces.impl.Constants, .XMLErrorReporter, org.apache.xerces.impl.dtd.models.CMNode, org.apache.xerces.impl.xs.XSMessageFormatter, org.apache.xerces.util.SecurityManager, org.apache.xerces.xni.parser.XMLComponentManager, .XMLConfigurationException

Author
Neeraj Bajaj
Version
$Id: CMNodeFactory.java 911823 2010-02-19 14:38:42Z mrglavas $

Field Summary

Modifier and TypeField and Description
private static final boolean
private static final String
ERROR_REPORTER

Property identifier: error reporter.

private XMLErrorReporter
fErrorReporter

Error reporter.

private SecurityManager
private int
private static final int
private int
private static final String
SECURITY_MANAGER

property identifier: security manager.

Constructor Summary

AccessConstructor and Description
public
CMNodeFactory()

default constructor

Method Summary

Modifier and TypeMethod and Description
public CMNode
getCMBinOpNode(int type, CMNode leftNode, CMNode rightNode)

public CMNode
getCMLeafNode(int type, Object leaf, int id, int position)

public CMNode
getCMRepeatingLeafNode(int type, Object leaf, int minOccurs, int maxOccurs, int id, int position)

public CMNode
getCMUniOpNode(int type, CMNode childNode)

public void
public void
reset(XMLComponentManager componentManager)

public void
public void
public void
setProperty(String
The property identifier.
propertyId
,
Object
The value of the property.
value
)

Sets the value of a property.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

DEBUGback to summary
private static final boolean DEBUG
ERROR_REPORTERback to summary
private static final String ERROR_REPORTER

Property identifier: error reporter.

fErrorReporterback to summary
private XMLErrorReporter fErrorReporter

Error reporter. This property identifier is: http://apache.org/xml/properties/internal/error-reporter

fSecurityManagerback to summary
private SecurityManager fSecurityManager
maxNodeLimitback to summary
private int maxNodeLimit
MULTIPLICITYback to summary
private static final int MULTIPLICITY
nodeCountback to summary
private int nodeCount
SECURITY_MANAGERback to summary
private static final String SECURITY_MANAGER

property identifier: security manager.

Constructor Detail

CMNodeFactoryback to summary
public CMNodeFactory()

default constructor

Method Detail

getCMBinOpNodeback to summary
public CMNode getCMBinOpNode(int type, CMNode leftNode, CMNode rightNode)
getCMLeafNodeback to summary
public CMNode getCMLeafNode(int type, Object leaf, int id, int position)
getCMRepeatingLeafNodeback to summary
public CMNode getCMRepeatingLeafNode(int type, Object leaf, int minOccurs, int maxOccurs, int id, int position)
getCMUniOpNodeback to summary
public CMNode getCMUniOpNode(int type, CMNode childNode)
nodeCountCheckback to summary
public void nodeCountCheck()
resetback to summary
public void reset(XMLComponentManager componentManager)
resetback to summary
public void reset()
resetNodeCountback to summary
public void resetNodeCount()
setPropertyback to summary
public void setProperty(String propertyId, Object value) throws XMLConfigurationException

Sets the value of a property. This method is called by the component manager any time after reset when a property changes value.

Note

Components should silently ignore properties that do not affect the operation of the component.

Parameters
propertyId:String

The property identifier.

value:Object

The value of the property.

Exceptions
SAXNotRecognizedException:
The component should not throw this exception.
SAXNotSupportedException:
The component should not throw this exception.