public class Mapping extends Object
Constructor and Description |
---|
Mapping(EntityType type,
String nsPrefix,
String nsUri,
String propertyPath,
String valuePath,
String contentKind)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getContentKind()
Returns the content type of the value of the mapped property.
|
String |
getNsPrefix()
Returns the namespace prefix of the feed's XML element that stores the
value.
|
String |
getNsUri()
Returns the namespace URI of the feed's XML element that stores the
value.
|
String |
getPropertyPath()
Returns the path of the property to update.
|
EntityType |
getType()
Returns the type of the entity to update.
|
String |
getValueAttributeName()
Returns the name of the attribute that stores the value to set, if
pertinent, and null otherwise.
|
String |
getValueNodePath()
Returns the name of the attribute that stores the value to set, if
pertinent, and null otherwise.
|
String |
getValuePath()
Returns the path of the XML element of the feed that stores the value to
set.
|
boolean |
isAttributeValue()
Returns true if the value is taken from an attribute.
|
public Mapping(EntityType type, String nsPrefix, String nsUri, String propertyPath, String valuePath, String contentKind)
type
- The type of the entity to update.nsPrefix
- The namespace prefix of the feed's XML element that stores the
value.nsUri
- The namespace URI of the feed's XML element that stores the
value.propertyPath
- The type of the entity to update.valuePath
- The path of the XML element of the feed that stores the value
to set.contentKind
- The content type of the value of the mapped property..public String getContentKind()
public String getNsPrefix()
public String getNsUri()
public String getPropertyPath()
public EntityType getType()
public String getValueAttributeName()
public String getValueNodePath()
public String getValuePath()
public boolean isAttributeValue()
Copyright © 2005–2017. All rights reserved.