public class AttributeWildcard extends SchemaStructure implements UserSchemaComponent
COMPONENT_FUNCTION_TYPE, FIXED_UP, INCOMPLETE, INVALID, UNVALIDATED, VALIDATED, VALIDATING
Constructor and Description |
---|
AttributeWildcard(EnterpriseConfiguration config) |
AttributeWildcard(Wildcard wc) |
Modifier and Type | Method and Description |
---|---|
FunctionItem |
getComponentAsFunction()
Get the schema component in the form of a function item.
|
int |
getValidationStatus()
Get the validation status of this component.
|
Wildcard |
getWildcard() |
void |
serialize(SchemaModelSerializer serializer)
Serialize this schema component
|
void |
setWildcard(Wildcard wildcard) |
boolean |
validate(SchemaCompiler compiler)
Validate that this AttributeWildcard obeys the schema consistency rules.
|
elaborate, fixup, getColumnNumber, getConfiguration, getFixupStatus, getLineNumber, getPublicId, getRedefinitionLevel, getSchemaDocumentURI, getSystemId, lookForCycles, makeXPathExpressionPropertyRecord, setConfiguration, setFixupStatus, setLineNumber, setLocator, setRedefinitionLevel, setSchemaDocumentURI, setSystemId, setValidationStatus
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
elaborate, fixup, lookForCycles
getRedefinitionLevel
public AttributeWildcard(EnterpriseConfiguration config)
public AttributeWildcard(Wildcard wc)
public void setWildcard(Wildcard wildcard)
public Wildcard getWildcard()
public boolean validate(SchemaCompiler compiler) throws SchemaException
validate
in interface UserSchemaComponent
compiler
- used for error reportingSchemaException
- if the error listener decided to treat
the error as fatal.public void serialize(SchemaModelSerializer serializer) throws XPathException
serializer
- the object that does the serializationXPathException
- if serialization failspublic FunctionItem getComponentAsFunction()
getComponentAsFunction
in interface SchemaComponent
public int getValidationStatus()
getValidationStatus
in interface SchemaComponent
getValidationStatus
in class SchemaStructure
SchemaComponent.UNVALIDATED
, SchemaComponent.VALIDATING
,
SchemaComponent.VALIDATED
, SchemaComponent.INVALID
, SchemaComponent.INCOMPLETE
Copyright (c) 2004-2013 Saxonica Limited. All rights reserved.