public abstract static class OperatorDescription.Document extends Object
Modifier and Type | Class and Description |
---|---|
static class |
OperatorDescription.Document.Kind
Represents document kind.
|
Constructor and Description |
---|
Document() |
Modifier and Type | Method and Description |
---|---|
static OperatorDescription.ExternalDocument |
external(Element element)
Creates a new instance.
|
abstract OperatorDescription.Document.Kind |
getKind()
Returns the kind of this document.
|
static OperatorDescription.ReferenceDocument |
reference(OperatorDescription.Reference reference)
Creates a new instance.
|
static OperatorDescription.TextDocument |
text(String text)
Creates a new instance.
|
public static OperatorDescription.TextDocument text(String text)
text
- text of this documentIllegalArgumentException
- if some parameters were null
public static OperatorDescription.ReferenceDocument reference(OperatorDescription.Reference reference)
reference
- reference descriptionIllegalArgumentException
- if some parameters were null
public static OperatorDescription.ExternalDocument external(Element element)
element
- the target elementIllegalArgumentException
- if some parameters were null
public abstract OperatorDescription.Document.Kind getKind()
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.