|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.saxonica.schema.SchemaStructure
com.saxonica.schema.Wildcard
com.saxonica.schema.AttributeWildcard
public class AttributeWildcard
This class represents an xs:anyAttribute element in the schema.
Field Summary |
---|
Fields inherited from interface com.saxonica.schema.SerializableSchemaComponent |
---|
ALL_COMPOSITOR, ATOMIC_TYPE, ATTRIBUTE_DECL, ATTRIBUTE_GROUP, ATTRIBUTE_GROUP_REF, ATTRIBUTE_USE, ATTRIBUTE_WILDCARD, CHOICE_COMPOSITOR, COMPLEX_TYPE, ELEMENT_DECL, ELEMENT_PARTICLE, ELEMENT_WILDCARD, FACET, KEY, KEYREF, LIST_TYPE, MODEL_GROUP, MODEL_GROUP_REF, NOTATION, SEQUENCE_COMPOSITOR, UNION_TYPE, UNIQUE |
Constructor Summary | |
---|---|
AttributeWildcard()
|
Method Summary | |
---|---|
int |
getComponentTypeCode()
Get a unique number identifying the type of component |
boolean |
isInexpressible()
Determine whether this wildcard represents an "inexpressible" intersection or union |
static AttributeWildcard |
makeIntersection(AttributeWildcard wat1,
AttributeWildcard wat2)
Create an AttributeWildcard as the intersection of two AttributeWildcards. |
static AttributeWildcard |
makeUnion(AttributeWildcard wat1,
AttributeWildcard wat2)
Create a AttributeWildcard as the union of two AttributeWildcards. |
void |
serialize(SchemaSerializer serializer)
Serialize the schema component |
boolean |
validate(SchemaCompiler compiler)
Validate that this AttributeWildcard obeys the schema consistency rules. |
Methods inherited from class com.saxonica.schema.Wildcard |
---|
addNamespace, allowsAny, getAllowedNamespaces, getDisallowedNamespace, getProcessContents, isIntensionalSubset, isNotStronger, matches, overlaps, setDisallowedNamespace, setNoNamespacesAllowed, setProcessContents, toString |
Methods inherited from class com.saxonica.schema.SchemaStructure |
---|
getColumnNumber, getConfiguration, getFixupStatus, getLineNumber, getPublicId, getSystemId, getValidationStatus, lookForCycles, setConfiguration, setFixupStatus, setLineNumber, setLocator, setSystemId, setValidationStatus |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AttributeWildcard()
Method Detail |
---|
public boolean isInexpressible()
public static AttributeWildcard makeIntersection(AttributeWildcard wat1, AttributeWildcard wat2)
wat1
- the first operand: the processContents is taken from this operandwat2
- the second operand
public static AttributeWildcard makeUnion(AttributeWildcard wat1, AttributeWildcard wat2)
wat1
- the first operand: the processContents is taken from this operandwat2
- the second operand
public boolean validate(SchemaCompiler compiler) throws SchemaException
validate
in class Wildcard
compiler
- used for error reporting
SchemaException
- if the error listener decided to treat
the error as fatal.public void serialize(SchemaSerializer serializer) throws IOException
IOException
public int getComponentTypeCode()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |