public class ArrayResolvedType extends XmlFacetsCapableType
customFacets| Constructor and Description |
|---|
ArrayResolvedType(TypeExpressionNode node) |
ArrayResolvedType(TypeExpressionNode node,
ResolvedType items) |
ArrayResolvedType(TypeExpressionNode node,
XmlFacets xmlFacets,
ResolvedType items,
Boolean uniqueItems,
Integer minItems,
Integer maxItems,
ResolvedCustomFacets customFacets) |
| Modifier and Type | Method and Description |
|---|---|
protected ArrayResolvedType |
copy() |
boolean |
doAccept(ResolvedType resolvedType) |
String |
getBuiltinTypeName()
Returns the builtin type name.
|
ResolvedType |
getItems() |
Integer |
getMaxItems() |
Integer |
getMinItems() |
Boolean |
getUniqueItems() |
ResolvedType |
mergeFacets(ResolvedType with)
Returns a new type definition after merging the facets of both Types
|
ResolvedType |
overwriteFacets(TypeDeclarationNode from)
Returns a new type definition with the facets being overwritten from the specified node
|
void |
validateCanOverwriteWith(TypeDeclarationNode from)
Validate if this type can be overwritten by the specified node
|
void |
validateState()
Validate state consistency
|
<T> T |
visit(TypeVisitor<T> visitor)
Dispatch the implementation to the visitor method
|
getXmlFacets, mergeFacets, overwriteFacetsaccepts, customFacets, getTypeDeclarationNode, getTypeName, setTypeNodeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccepts, customFacets, getTypeDeclarationNode, getTypeName, setTypeNodepublic ArrayResolvedType(TypeExpressionNode node, XmlFacets xmlFacets, ResolvedType items, Boolean uniqueItems, Integer minItems, Integer maxItems, ResolvedCustomFacets customFacets)
public ArrayResolvedType(TypeExpressionNode node, ResolvedType items)
public ArrayResolvedType(TypeExpressionNode node)
protected ArrayResolvedType copy()
public void validateCanOverwriteWith(TypeDeclarationNode from)
ResolvedTypefrom - The node to check withpublic ResolvedType overwriteFacets(TypeDeclarationNode from)
ResolvedTypefrom - The node from where to load the facetspublic boolean doAccept(ResolvedType resolvedType)
public void validateState()
ResolvedTypevalidateState in interface ResolvedTypevalidateState in class BaseTypepublic ResolvedType mergeFacets(ResolvedType with)
ResolvedTypewith - The type definition to merge withpublic <T> T visit(TypeVisitor<T> visitor)
ResolvedTypeT - The result typevisitor - The visitor@Nonnull public ResolvedType getItems()
public Boolean getUniqueItems()
public Integer getMinItems()
public Integer getMaxItems()
@Nullable public String getBuiltinTypeName()
ResolvedTypegetBuiltinTypeName in interface ResolvedTypegetBuiltinTypeName in class BaseTypeCopyright © 2017. All rights reserved.