public class OgcPropertyImpl<ValueType> extends Object implements OgcProperty<ValueType>
Modifier and Type | Field and Description |
---|---|
protected String |
arcRole |
protected String |
href |
protected HrefResolver |
hrefResolver |
protected String |
name |
protected String |
nilReason |
protected String |
role |
protected String |
title |
protected ValueType |
value |
Constructor and Description |
---|
OgcPropertyImpl() |
OgcPropertyImpl(String name,
ValueType value) |
OgcPropertyImpl(ValueType value) |
Modifier and Type | Method and Description |
---|---|
OgcPropertyImpl<ValueType> |
copy() |
protected void |
copyTo(OgcPropertyImpl<ValueType> other) |
String |
getArcRole() |
String |
getHref() |
String |
getName() |
String |
getNilReason() |
String |
getRole() |
ValueType |
getTarget() |
String |
getTitle() |
ValueType |
getValue() |
boolean |
hasHref() |
boolean |
hasValue() |
boolean |
resolveHref()
Fetches remote value from xlink href
This method does nothing if property value is not null
|
void |
setArcRole(String role) |
void |
setHref(String href) |
void |
setHrefResolver(HrefResolver hrefResolver)
Assigns an instance of HrefResolver that is responsible for connecting
to the href URL, fetch the data and parse it with the appropriate parser
|
void |
setName(String name) |
void |
setNilReason(String nilReason) |
void |
setRole(String role) |
void |
setTitle(String title) |
void |
setValue(ValueType value) |
protected ValueType value
protected String name
protected String title
protected String href
protected String role
protected String arcRole
protected String nilReason
protected HrefResolver hrefResolver
public OgcPropertyImpl()
public OgcPropertyImpl(ValueType value)
public OgcPropertyImpl<ValueType> copy()
copy
in interface OgcProperty<ValueType>
protected void copyTo(OgcPropertyImpl<ValueType> other)
public String getName()
getName
in interface OgcProperty<ValueType>
public void setName(String name)
setName
in interface OgcProperty<ValueType>
public String getTitle()
getTitle
in interface OgcProperty<ValueType>
public void setTitle(String title)
setTitle
in interface OgcProperty<ValueType>
public String getHref()
getHref
in interface IXlinkReference<ValueType>
public void setHref(String href)
setHref
in interface IXlinkReference<ValueType>
public boolean hasHref()
hasHref
in interface OgcProperty<ValueType>
public String getRole()
getRole
in interface IXlinkReference<ValueType>
public void setRole(String role)
setRole
in interface IXlinkReference<ValueType>
public String getArcRole()
getArcRole
in interface IXlinkReference<ValueType>
public void setArcRole(String role)
setArcRole
in interface IXlinkReference<ValueType>
public String getNilReason()
getNilReason
in interface OgcProperty<ValueType>
public void setNilReason(String nilReason)
setNilReason
in interface OgcProperty<ValueType>
public ValueType getValue()
getValue
in interface OgcProperty<ValueType>
public boolean hasValue()
hasValue
in interface OgcProperty<ValueType>
public void setValue(ValueType value)
setValue
in interface OgcProperty<ValueType>
public void setHrefResolver(HrefResolver hrefResolver)
OgcProperty
setHrefResolver
in interface OgcProperty<ValueType>
public boolean resolveHref() throws IOException
OgcProperty
resolveHref
in interface OgcProperty<ValueType>
IOException
- if href URL cannot be reachedpublic ValueType getTarget()
getTarget
in interface IXlinkReference<ValueType>
Copyright © 2016 Sensia Software LLC. All rights reserved.