public class ArrayResolvedType extends XmlFacetsCapableType
customFacets| Constructor and Description |
|---|
ArrayResolvedType(TypeDeclarationNode node) |
ArrayResolvedType(TypeDeclarationNode node,
ResolvedType items) |
ArrayResolvedType(TypeDeclarationNode node,
XmlFacets xmlFacets,
ResolvedType items,
Boolean uniqueItems,
Integer minItems,
Integer maxItems,
ResolvedCustomFacets customFacets) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
doAccept(ResolvedType resolvedType) |
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, getTypeNamepublic ArrayResolvedType(TypeDeclarationNode node, XmlFacets xmlFacets, ResolvedType items, Boolean uniqueItems, Integer minItems, Integer maxItems, ResolvedCustomFacets customFacets)
public ArrayResolvedType(TypeDeclarationNode node, ResolvedType items)
public ArrayResolvedType(TypeDeclarationNode node)
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 visitorpublic ResolvedType getItems()
public Boolean getUniqueItems()
public Integer getMinItems()
public Integer getMaxItems()
Copyright © 2016. All rights reserved.