Top Fields Constructors Methods
com.sun.xml.xsom.impl

public Class FacetImpl

extends ComponentImpl
implements XSFacet
Class Inheritance
All Implemented Interfaces
com.sun.xml.xsom.XSFacet, com.sun.xml.xsom.XSComponent
Imports
com.sun.xml.xsom.XSFacet, .XmlString, com.sun.xml.xsom.impl.parser.SchemaDocumentImpl, com.sun.xml.xsom.visitor.XSFunction, .XSVisitor, org.xml.sax.Locator

Field Summary

Modifier and TypeField and Description
private boolean
private final String
private final XmlString
Inherited from com.sun.xml.xsom.impl.ComponentImpl:
ownerDocument

Constructor Summary

AccessConstructor and Description
public
FacetImpl(SchemaDocumentImpl owner, AnnotationImpl _annon, Locator _loc, ForeignAttributesImpl _fa, String _name, XmlString _value, boolean _fixed)

Method Summary

Modifier and TypeMethod and Description
public <T> T
apply(XSFunction<T> function)

Implements com.sun.xml.xsom.XSComponent.apply.

Accepts a functor.

public String
getName()

Implements com.sun.xml.xsom.XSFacet.getName.

Gets the name of the facet, such as "length".

public XmlString
getValue()

Implements com.sun.xml.xsom.XSFacet.getValue.

Gets the value of the facet.

public boolean
isFixed()

Implements com.sun.xml.xsom.XSFacet.isFixed.

Returns true if this facet is "fixed".

public void
visit(XSVisitor visitor)

Implements com.sun.xml.xsom.XSComponent.visit.

Accepts a visitor.

Inherited from com.sun.xml.xsom.impl.ComponentImpl:
getAnnotationgetAnnotationgetForeignAttributegetForeignAttributesgetLocatorgetOwnerSchemagetRootgetSourceDocumentselectselectSingletoString

Field Detail

fixedback to summary
private boolean fixed
nameback to summary
private final String name
valueback to summary
private final XmlString value

Constructor Detail

FacetImplback to summary
public FacetImpl(SchemaDocumentImpl owner, AnnotationImpl _annon, Locator _loc, ForeignAttributesImpl _fa, String _name, XmlString _value, boolean _fixed)

Method Detail

applyback to summary
public <T> T apply(XSFunction<T> function)

Implements com.sun.xml.xsom.XSComponent.apply.

Doc from com.sun.xml.xsom.XSComponent.apply.

Accepts a functor.

getNameback to summary
public String getName()

Implements com.sun.xml.xsom.XSFacet.getName.

Doc from com.sun.xml.xsom.XSFacet.getName.

Gets the name of the facet, such as "length".

getValueback to summary
public XmlString getValue()

Implements com.sun.xml.xsom.XSFacet.getValue.

Doc from com.sun.xml.xsom.XSFacet.getValue.

Gets the value of the facet.

isFixedback to summary
public boolean isFixed()

Implements com.sun.xml.xsom.XSFacet.isFixed.

Doc from com.sun.xml.xsom.XSFacet.isFixed.

Returns true if this facet is "fixed".

visitback to summary
public void visit(XSVisitor visitor)

Implements com.sun.xml.xsom.XSComponent.visit.

Doc from com.sun.xml.xsom.XSComponent.visit.

Accepts a visitor.