com.sun.msv.grammar.xmlschema

Class AttributeWildcard


public class AttributeWildcard
extends Object

Attribute wildcard property of the schema component.

This object is used during the parsing process to keep the intermediate information. Once the parsing is finished, attribute wildcard is kept as an expression.

Author:
Kohsuke KAWAGUCHI

Field Summary

static int
LAX
static int
SKIP
static int
STRICT

Constructor Summary

AttributeWildcard(NameClass name, int processMode)

Method Summary

AttributeWildcard
copy()
Expression
createExpression(XMLSchemaGrammar grammar)
Creates the expression that corresponds to the current attribute wildcard specification.
NameClass
getName()
Gets the target of the name class.
int
getProcessMode()
Gets the processing model of the wildcard.

Field Details

LAX

public static final int LAX
Field Value:
1

STRICT

public static final int STRICT
Field Value:
2

Constructor Details

AttributeWildcard

public AttributeWildcard(NameClass name,
                         int processMode)

Method Details

copy

public AttributeWildcard copy()

createExpression

public Expression createExpression(XMLSchemaGrammar grammar)
Creates the expression that corresponds to the current attribute wildcard specification.

getName

public NameClass getName()
Gets the target of the name class.

getProcessMode

public int getProcessMode()
Gets the processing model of the wildcard.