public class Length extends Shortcut implements com.exalead.util.Checkable, java.io.Serializable, Cloneable
Modifier and Type | Field and Description |
---|---|
java.lang.String |
field |
DEFAULT_LITTERAL, DEFAULT_NORM, litteral, matchedUrl, norm, val
Constructor and Description |
---|
Length() |
Length(Length o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this Length.
|
Length |
clone()
Creates and returns a deep copy of this Length.
|
static Length |
fromString(java.lang.String s)
String representation of this Length.
|
java.lang.String |
getField() |
Length |
makeCopy()
Creates and returns a deep copy of this Length.
|
static Length |
readFrom(java.io.InputStream is)
Read this Length from an XML fragment.
|
void |
setField(java.lang.String field) |
java.lang.String |
toString()
String representation of this Length.
|
Length |
withField(java.lang.String field) |
Length |
withLitteral(boolean litteral) |
Length |
withLitteral(java.lang.Boolean litteral) |
Length |
withMatchedUrl(java.lang.String matchedUrl) |
Length |
withNorm(java.lang.String norm) |
Length |
withVal(java.lang.String val) |
void |
writeTo(java.io.OutputStream os)
Write this Length as an XML fragment
|
getMatchedUrl, getNorm, getVal, isLitteral, setLitteral, setMatchedUrl, setNorm, setVal
public Length()
public Length(Length o)
public Length withMatchedUrl(java.lang.String matchedUrl)
withMatchedUrl
in class Shortcut
public Length withLitteral(boolean litteral)
withLitteral
in class Shortcut
public Length withLitteral(java.lang.Boolean litteral)
withLitteral
in class Shortcut
public void setField(java.lang.String field)
public java.lang.String getField()
public Length withField(java.lang.String field)
public Length clone()
public Length makeCopy()
public static Length readFrom(java.io.InputStream is) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public void writeTo(java.io.OutputStream os) throws javax.xml.bind.JAXBException, java.io.IOException
public static Length fromString(java.lang.String s) throws javax.xml.bind.JAXBException, java.io.UnsupportedEncodingException
javax.xml.bind.JAXBException
java.io.UnsupportedEncodingException
public java.lang.String toString()
Copyright © 2021 Dassault Systèmes, All Rights Reserved.