Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.any23.extractor.microdata
Class Item

    java.lang.Object
      org.apache.any23.extractor.microdata.Item

Direct Known Subclasses:
  ItemProp, ItemScope

    public abstract class Item

extends Object

Base class for Microdata items.

Author:
  Michele Mostarda (mostarda@fbk.eu)

Constructor Summary
`Item(String xpath)` Constructor.

Method Summary
`boolean` | `equals(Object obj)`
`String` | `getXpath()`
`int` | `hashCode()`
`abstract String` | `toJSON()`

Methods inherited from class java.lang.Object
`clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### Item

    public Item(String xpath)

  Constructor.

  Parameters:
    `xpath` - xpath to this item in container document.

Method Detail

### toJSON

    public abstract String toJSON()

  Returns:
    the JSON representation for this item.

### getXpath

    public String getXpath()

  Returns:
    the item location in container document.

### hashCode

    public int hashCode()

  Overrides:
    `hashCode` in class `Object`

### equals

    public boolean equals(Object obj)

  Overrides:
    `equals` in class `Object`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.