XSContentTypeFunction<String>
, XSFunction<String>
, XSTermFunction<String>
public class NameGetter extends Object implements XSFunction<String>
This is a function object that returns String
.
Modifier and Type | Field | Description |
---|---|---|
static XSFunction |
theInstance |
An instance that gets names in the default locale.
|
Constructor | Description |
---|---|
NameGetter(Locale _locale) |
Initializes a NameGetter so that it will return
messages in the specified locale.
|
Modifier and Type | Method | Description |
---|---|---|
String |
annotation(XSAnnotation ann) |
|
String |
attGroupDecl(XSAttGroupDecl decl) |
|
String |
attributeDecl(XSAttributeDecl decl) |
|
String |
attributeUse(XSAttributeUse use) |
|
String |
complexType(XSComplexType type) |
|
String |
elementDecl(XSElementDecl decl) |
|
String |
empty(XSContentType empty) |
|
String |
facet(XSFacet facet) |
|
static String |
get(XSComponent comp) |
Gets the name of the specified component in the default locale.
|
String |
identityConstraint(XSIdentityConstraint decl) |
|
String |
modelGroup(XSModelGroup group) |
|
String |
modelGroupDecl(XSModelGroupDecl decl) |
|
String |
notation(XSNotation n) |
|
String |
particle(XSParticle particle) |
|
String |
schema(XSSchema schema) |
|
String |
simpleType(XSSimpleType simpleType) |
|
String |
wildcard(XSWildcard wc) |
|
String |
xpath(XSXPath xpath) |
public static final XSFunction theInstance
public NameGetter(Locale _locale)
public static String get(XSComponent comp)
public String annotation(XSAnnotation ann)
annotation
in interface XSFunction<String>
public String attGroupDecl(XSAttGroupDecl decl)
attGroupDecl
in interface XSFunction<String>
public String attributeUse(XSAttributeUse use)
attributeUse
in interface XSFunction<String>
public String attributeDecl(XSAttributeDecl decl)
attributeDecl
in interface XSFunction<String>
public String complexType(XSComplexType type)
complexType
in interface XSFunction<String>
public String schema(XSSchema schema)
schema
in interface XSFunction<String>
public String facet(XSFacet facet)
facet
in interface XSFunction<String>
public String simpleType(XSSimpleType simpleType)
simpleType
in interface XSContentTypeFunction<String>
public String particle(XSParticle particle)
particle
in interface XSContentTypeFunction<String>
public String empty(XSContentType empty)
empty
in interface XSContentTypeFunction<String>
public String wildcard(XSWildcard wc)
wildcard
in interface XSTermFunction<String>
public String modelGroupDecl(XSModelGroupDecl decl)
modelGroupDecl
in interface XSTermFunction<String>
public String modelGroup(XSModelGroup group)
modelGroup
in interface XSTermFunction<String>
public String elementDecl(XSElementDecl decl)
elementDecl
in interface XSTermFunction<String>
public String notation(XSNotation n)
notation
in interface XSFunction<String>
public String identityConstraint(XSIdentityConstraint decl)
identityConstraint
in interface XSFunction<String>
public String xpath(XSXPath xpath)
xpath
in interface XSFunction<String>
Copyright © 2018 Oracle Corporation. All rights reserved.