public abstract class AbstractExternalType extends BaseType implements SchemaBasedResolvedType
customFacets| Constructor and Description |
|---|
AbstractExternalType(AbstractExternalType externalType) |
AbstractExternalType(TypeExpressionNode from,
String schemaValue,
String schemaPath,
String internalFragment) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract AbstractExternalType |
copy() |
String |
getInternalFragment() |
String |
getSchemaPath() |
String |
getSchemaValue()
The schema string content
|
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
|
accepts, customFacets, doAccept, getBuiltinTypeName, getTypeDeclarationNode, getTypeName, setTypeNodeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccepts, customFacets, getBuiltinTypeName, getTypeDeclarationNode, getTypeName, setTypeNode, visitpublic AbstractExternalType(TypeExpressionNode from, String schemaValue, String schemaPath, String internalFragment)
public AbstractExternalType(AbstractExternalType externalType)
protected abstract AbstractExternalType copy()
public ResolvedType overwriteFacets(TypeDeclarationNode from)
ResolvedTypeoverwriteFacets in interface ResolvedTypefrom - The node from where to load the facetspublic ResolvedType mergeFacets(ResolvedType with)
ResolvedTypemergeFacets in interface ResolvedTypewith - The type definition to merge withpublic void validateCanOverwriteWith(TypeDeclarationNode from)
ResolvedTypevalidateCanOverwriteWith in interface ResolvedTypefrom - The node to check withpublic void validateState()
ResolvedTypevalidateState in interface ResolvedTypevalidateState in class BaseTypepublic String getSchemaValue()
SchemaBasedResolvedTypegetSchemaValue in interface SchemaBasedResolvedTypepublic String getSchemaPath()
public String getInternalFragment()
Copyright © 2017. All rights reserved.