C# 클래스 RDFSharp.Model.RDFContainer

RDFContainer represents a generic container in the RDF model. It is made up of items, which must be all resources or all literals.
상속: IEnumerable
파일 보기 프로젝트 열기: mdesalvo/RDFSharp 1 사용 예제들

Private Properties

프로퍼티 타입 설명
IEnumerable IEnumerator

공개 메소드들

메소드 설명
AddItem ( Object item ) : RDFContainer

Adds the given item to the container

ClearItems ( ) : void

Removes all the items from the container

RDFContainer ( RDFModelEnums containerType, RDFModelEnums itemType ) : System

Default ctor to build an empty container of the given flavor and given type

ReifyContainer ( ) : RDFGraph

Builds the reification graph of the container: Subject -> rdf:type -> [rdf:Bag|rdf:Seq|rdf:Alt] Subject -> rdf:_N -> RDFContainer.ITEM(N)

RemoveItem ( Object item ) : RDFContainer

Removes the given item from the container

비공개 메소드들

메소드 설명
IEnumerable ( ) : IEnumerator

Exposes an untyped enumerator on the container's items

메소드 상세

AddItem() 공개 메소드

Adds the given item to the container
public AddItem ( Object item ) : RDFContainer
item Object
리턴 RDFContainer

ClearItems() 공개 메소드

Removes all the items from the container
public ClearItems ( ) : void
리턴 void

RDFContainer() 공개 메소드

Default ctor to build an empty container of the given flavor and given type
public RDFContainer ( RDFModelEnums containerType, RDFModelEnums itemType ) : System
containerType RDFModelEnums
itemType RDFModelEnums
리턴 System

ReifyContainer() 공개 메소드

Builds the reification graph of the container: Subject -> rdf:type -> [rdf:Bag|rdf:Seq|rdf:Alt] Subject -> rdf:_N -> RDFContainer.ITEM(N)
public ReifyContainer ( ) : RDFGraph
리턴 RDFGraph

RemoveItem() 공개 메소드

Removes the given item from the container
public RemoveItem ( Object item ) : RDFContainer
item Object
리턴 RDFContainer