public class ItemScope extends Item
Constructor and Description |
---|
ItemScope(String xpath,
ItemProp[] itemProps,
String id,
String[] refs,
String type,
String itemId)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
acquireProperty(ItemProp itemProp) |
protected void |
disownProperty(ItemProp itemProp) |
boolean |
equals(Object obj) |
String |
getId() |
String |
getItemId() |
Map<String,List<ItemProp>> |
getProperties() |
String[] |
getRefs() |
URL |
getType() |
int |
hashCode() |
String |
toJSON() |
String |
toString() |
public ItemScope(String xpath, ItemProp[] itemProps, String id, String[] refs, String type, String itemId)
xpath
- location of this itemscope within the container document.itemProps
- list of properties bound to this itemscope.id
- DOM identifier for this itemscope. Can be null.
refs
- list of item prop references connected to this itemscope. Can be null.
type
- itemscope type. Can be null.
itemId
- itemscope id. Can be null.
public Map<String,List<ItemProp>> getProperties()
public String getId()
public String[] getRefs()
public URL getType()
public String getItemId()
public String toJSON()
protected void acquireProperty(ItemProp itemProp)
protected void disownProperty(ItemProp itemProp)
Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.