Package org.apache.xmlbeans
Interface XmlToken
-
- All Superinterfaces:
XmlAnySimpleType
,XmlNormalizedString
,XmlObject
,XmlString
,XmlTokenSource
- All Known Subinterfaces:
AllNNI.Member
,Attribute.Use
,BlockSet.Member
,BlockSet.Member2.Item
,DerivationControl
,DerivationSet.Member
,FieldDocument.Field.Xpath
,FileDesc.Role
,FormChoice
,FullDerivationSet.Member
,JavaName
,JavaNameList.Member
,NamespaceList.Member
,NamespaceList.Member
,NamespaceList.Member2.Item.Member
,NamespaceList.Member2.Item.Member
,Public
,Qnametargetenum
,ReducedDerivationControl
,SelectorDocument.Selector.Xpath
,SimpleDerivationSet.Member
,SimpleDerivationSet.Member2.Item
,SpaceAttribute.Space
,STAlignH
,STAlignV
,STAnimationBuildType
,STAnimationChartOnlyBuildType
,STAnimationDgmOnlyBuildType
,STBevelPresetType
,STBlackWhiteMode
,STBlendMode
,STBlipCompression
,STChartBuildStep
,STColorSchemeIndex
,STCompoundLine
,STDgmBuildStep
,STDirection
,STEditAs
,STEffectContainerType
,STFontCollectionIndex
,STGeomGuideName
,STGuid
,STGuid
,STGuid
,STHtmlPublishWebBrowserSupport
,STIterateType
,STLightRigDirection
,STLightRigType
,STLineCap
,STLineEndLength
,STLineEndType
,STLineEndWidth
,STOleObjectFollowColorScheme
,STOnOffStyleType
,STPathFillMode
,STPathShadeType
,STPenAlignment
,STPhotoAlbumFrameShape
,STPhotoAlbumLayout
,STPlaceholderSize
,STPlaceholderType
,STPresetCameraType
,STPresetColorVal
,STPresetLineDashVal
,STPresetMaterialType
,STPresetPatternVal
,STPresetShadowVal
,STPrintColorMode
,STPrintWhat
,STRectAlignment
,STRelFromH
,STRelFromV
,STSchemeColorVal
,STShapeID
,STShapeType
,STSlideLayoutType
,STSlideSizeType
,STSplitterBarState
,STSystemColorVal
,STTextAlignType
,STTextAnchoringType
,STTextAutonumberScheme
,STTextCapsType
,STTextFontAlignType
,STTextHorzOverflowType
,STTextShapeType
,STTextStrikeType
,STTextTabAlignType
,STTextUnderlineType
,STTextVerticalType
,STTextVertOverflowType
,STTextWrappingType
,STTileFlipMode
,STTLAnimateBehaviorCalcMode
,STTLAnimateBehaviorValueType
,STTLAnimateColorDirection
,STTLAnimateColorSpace
,STTLAnimateEffectTransition
,STTLAnimateMotionBehaviorOrigin
,STTLAnimateMotionPathEditMode
,STTLBehaviorAccumulateType
,STTLBehaviorAdditiveType
,STTLBehaviorOverrideType
,STTLBehaviorTransformType
,STTLChartSubelementType
,STTLCommandType
,STTLDiagramBuildType
,STTLNextActionType
,STTLOleChartBuildType
,STTLParaBuildType
,STTLPreviousActionType
,STTLTimeIndefinite
,STTLTimeNodeFillType
,STTLTimeNodeMasterRelation
,STTLTimeNodePresetClassType
,STTLTimeNodeRestartType
,STTLTimeNodeSyncType
,STTLTimeNodeType
,STTLTriggerEvent
,STTLTriggerRuntimeNode
,STTransitionCornerDirectionType
,STTransitionInOutDirectionType
,STTransitionSideDirectionType
,STTransitionSpeed
,STViewType
,STWebColorType
,STWebScreenSize
,STWrapText
,TypeDerivationControl
,WhiteSpaceDocument.WhiteSpace.Value
,Wildcard.ProcessContents
,XmlENTITY
,XmlID
,XmlIDREF
,XmlLanguage
,XmlName
,XmlNCName
,XmlNMTOKEN
- All Known Implementing Classes:
AllImpl.MaxOccursImpl
,AllNNIImpl
,AllNNIImpl.MemberImpl
,AttributeImpl.UseImpl
,BlockSetImpl
,BlockSetImpl.MemberImpl
,BlockSetImpl.MemberImpl2.ItemImpl
,DerivationControlImpl
,DerivationSetImpl
,DerivationSetImpl.MemberImpl
,FieldDocumentImpl.FieldImpl.XpathImpl
,FileDescImpl.RoleImpl
,FormChoiceImpl
,FullDerivationSetImpl
,FullDerivationSetImpl.MemberImpl
,JavaNameImpl
,JavaNameListImpl
,JavaNameListImpl.MemberImpl
,NamespaceListImpl
,NamespaceListImpl
,NamespaceListImpl.MemberImpl
,NamespaceListImpl.MemberImpl
,NamespaceListImpl.MemberImpl2.ItemImpl
,NamespaceListImpl.MemberImpl2.ItemImpl
,NamespaceListImpl.MemberImpl2.ItemImpl.MemberImpl
,NamespaceListImpl.MemberImpl2.ItemImpl.MemberImpl
,NarrowMaxMinImpl.MaxOccursImpl
,PublicImpl
,QnametargetenumImpl
,ReducedDerivationControlImpl
,SelectorDocumentImpl.SelectorImpl.XpathImpl
,SimpleDerivationSetImpl
,SimpleDerivationSetImpl.MemberImpl
,SimpleDerivationSetImpl.MemberImpl2.ItemImpl
,SpaceAttributeImpl.SpaceImpl
,TypeDerivationControlImpl
,WhiteSpaceDocumentImpl.WhiteSpaceImpl.ValueImpl
,WildcardImpl.ProcessContentsImpl
,XmlEntityImpl
,XmlIdImpl
,XmlIdRefImpl
,XmlLanguageImpl
,XmlNameImpl
,XmlNCNameImpl
,XmlNmTokenImpl
,XmlTokenImpl
public interface XmlToken extends XmlNormalizedString
Corresponds to the XML Schema xs:token type. One of the derived types based on xs:string.A token is XML's best representation for a "whitespace insensitive string." All carriage returns, linefeeds, and tabs are converted to ordinary space characters (as with xs:normalizedString), and furthermore, all contiguous runs of space are collapsed to single spaces, and leading and trailing spaces are trimmed.
If you want
" high priority "
to be equivalent to"high priority"
, you should consider using xs:token or a subtype of xs:token.When the
XmlAnySimpleType.stringValue()
is obtained from an XmlToken, the normalized, trimmed, whitespace collapsed value is returned.Convertible to
String
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
XmlToken.Factory
A class with methods for creating instances ofXmlToken
.
-
Field Summary
Fields Modifier and Type Field Description static SchemaType
type
The constantSchemaType
object representing this schema type.-
Fields inherited from interface org.apache.xmlbeans.XmlObject
EQUAL, GREATER_THAN, LESS_THAN, NOT_EQUAL
-
-
Method Summary
-
Methods inherited from interface org.apache.xmlbeans.XmlAnySimpleType
getStringValue, set, setStringValue, stringValue
-
Methods inherited from interface org.apache.xmlbeans.XmlObject
changeType, compareTo, compareValue, copy, copy, execQuery, execQuery, isImmutable, isNil, schemaType, selectAttribute, selectAttribute, selectAttributes, selectChildren, selectChildren, selectChildren, selectPath, selectPath, set, setNil, substitute, toString, validate, validate, valueEquals, valueHashCode
-
Methods inherited from interface org.apache.xmlbeans.XmlTokenSource
documentProperties, dump, getDomNode, monitor, newCursor, newDomNode, newDomNode, newInputStream, newInputStream, newReader, newReader, newXMLInputStream, newXMLInputStream, newXMLStreamReader, newXMLStreamReader, save, save, save, save, save, save, save, save, xmlText, xmlText
-
-
-
-
Field Detail
-
type
static final SchemaType type
The constantSchemaType
object representing this schema type.
-
-